Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for XlaHostComputeOp (0.16 sec)

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

    namespace mlir {
    namespace TF {
    namespace {
    
    // Returns true if the given op is TF/XLA communication op in the old bridge.
    bool IsCommunicationOp(Operation* op) {
      return isa<TF::XlaHostComputeOp, TF::XlaSendToHostOp, TF::XlaRecvFromHostOp>(
          op);
    }
    
    // Returns true if the given op is one of ops supported to have communication
    // subcomputation in the TF/XLA bridge.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

      // MLIR. This will also require some trait to identify optional attributes in
      // MLIR.
      constexpr char kShapeInferenceGraph[] = "shape_inference_graph";
      if (mlir::isa<mlir::TF::XlaHostComputeOp>(inst) &&
          !inst->hasAttr(kShapeInferenceGraph) &&
          !attrs_to_ignore.contains(kShapeInferenceGraph)) {
        AttrValue value;
        value.mutable_func()->set_name("");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      supported_ops->insert(
          OperationName(mlir::TF::XlaCallModuleOp::getOperationName(), context));
      supported_ops->insert(
          OperationName(mlir::TF::XlaHostComputeOp::getOperationName(), context));
      supported_ops->insert(
          OperationName(mlir::TF::XlaReduceOp::getOperationName(), context));
      supported_ops->insert(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // Infers the shape of function attached to XlaHostCompute.
      // Returns true if a return type was changed.
      bool InferShapeForFunctionAttachedToXlaHostCompute(XlaHostComputeOp op);
    
      // Infers the shape for MapDatasetOp and its associated function. Returns
      // whether either op or function type was changed.
      bool InferShapeForMapDataset(MapDatasetOp op, int64_t max_iterations);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top