Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateConstantOpDeviceAssignmentPass (0.66 sec)

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

        if (all_uses_replaced) {
          op.erase();
        }
        return WalkResult::advance();
      });
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateConstantOpDeviceAssignmentPass() {
      return std::make_unique<ConstantOpDeviceAssignmentPass>();
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // a tf.Const op is read by operations placed on multiple devices, then the pass
    // will replicate the tf.Const op once for each device.
    std::unique_ptr<OperationPass<ModuleOp>> CreateConstantOpDeviceAssignmentPass();
    
    // Returns pass that verifies whether all functions in module are of single
    // tf_executor.graph and each tf_executor.island in tf_executor.graph only has a
    // single op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      ];
    }
    
    def ConstantOpDeviceAssignmentPass : Pass<"constant-op-device-assignment", "ModuleOp"> {
      let summary = "Assign device for tf.Const ops";
      let constructor = "TF::CreateConstantOpDeviceAssignmentPass()";
    }
    
    def GuaranteeAllFuncsOneUsePass : Pass<"tf-guarantee-all-funcs-one-use", "ModuleOp"> {
      let summary = "Guarantee all FuncOp's have only a single use.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top