Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for initializeAndRun (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/colocate_tpu_copy_with_dynamic_shape.cc

      DataFlowSolver solver;
      solver.load<dataflow::DeadCodeAnalysis>();
      solver.load<dataflow::SparseConstantPropagation>();
      solver.load<DeviceDataflowAnalysis>(symbolTables);
      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      module->walk([&](TF::TPUCopyWithDynamicShapeOp op) {
        const Device *state;
        for (auto result : op->getResults()) {
          state = solver.lookupState<Device>(result);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 00:30:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc

      DataFlowSolver solver;
      solver.load<dataflow::DeadCodeAnalysis>();
      solver.load<dataflow::SparseConstantPropagation>();
      TF::LoadResourceDataflowAnalysis(solver);
      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      OpBuilder globalBuilder(module.getBodyRegion());
    
      module.walk(
          [&](TF::ReadVariableOp op) { MaybeCreateVarHandleForOp(op, solver); });
      module.walk(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

      DataFlowSolver solver;
      solver.load<dataflow::DeadCodeAnalysis>();
      solver.load<dataflow::SparseConstantPropagation>();
      TF::LoadResourceDataflowAnalysis(solver);
      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      DenseSet<GlobalTensorOp> remaining_global_tensor_ops;
      {
        auto ops = module.getOps<GlobalTensorOp>();
        remaining_global_tensor_ops.insert(ops.begin(), ops.end());
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

        DataFlowSolver solver;
        solver.load<dataflow::DeadCodeAnalysis>();
        solver.load<dataflow::SparseConstantPropagation>();
        TF::LoadResourceDataflowAnalysis(solver);
        if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
        SymbolTable symbol_table(module);
    
        OpBuilder globalBuilder(module.getBodyRegion());
    
        module.walk([&](TF::ReadVariableOp op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      DataFlowSolver solver;
      solver.load<dataflow::DeadCodeAnalysis>();
      solver.load<dataflow::SparseConstantPropagation>();
      TF::LoadIsCompositeDataflowAnalysis(solver);
      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      // This pass assumes that all functions are suitable for export i.e., each
      // function has a single tf_executor.graph op and all islands wrap the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top