Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for cluster_func (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.h

    // exportable and verify some properties of the Tensorflow Executor MLIR that
    // are required by Graph Export. It will return an error if it cannot.
    //
    // Input: A MLIR Module in the Tensorflow Dialect with no
    // `tf_device.cluster_func` ops.
    // Output: A MLIR module in the Tensorflow Executor Dialect.
    tensorflow::Status ExportFromTensorflowDialectToExecutor(
        mlir::ModuleOp module, llvm::StringRef module_name = llvm::StringRef());
    
    }  // namespace v2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 23:19:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu-annotate-dynamic-shape-inputs.mlir

                tf_device.return %4#0, %4#1 : tensor<2048xi32>, tensor<2048xi32>
                }) {device = "TPU_REPLICATED_HOST_0"} : () -> (tensor<2048xi32>, tensor<2048xi32>)
          %1 = "tf_device.cluster_func"(%0#0, %0#1) {_replication_info = "cluster_test_fn", func = @tpu_func} : (tensor<2048xi32>, tensor<2048xi32>) -> tensor<2048xi32>
          return %1: tensor<2048xi32>
       }
       // CHECK-LABEL: func @tpu_func
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.h

    // exportable and verify some properties of the Tensorflow Executor MLIR that
    // are required by Graph Export. It will return an error if it cannot.
    //
    // Input: A MLIR Module in the Tensorflow Dialect with no
    // `tf_device.cluster_func` ops.
    // Output: A MLIR module in the Tensorflow Executor Dialect.
    
    ABSL_DEPRECATED(
        "Use v2/tf_dialect_to_executor.h::ExportFromTensorflowDialectToExecutor "
        "instead.")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 11 18:45:46 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

    }
    
    void TPUAnnotateDynamicShapeInputsPass::runOnOperation() {
      getOperation().walk([&](tf_device::ClusterFuncOp cluster_func_op) {
        Builder builder(cluster_func_op->getContext());
        // Skip non-tpu device cluster_func.
        auto cluster_id =
            cluster_func_op->getAttrOfType<StringAttr>(TF::kReplicationInfoAttr);
        if (!cluster_id) return WalkResult::advance();
    
        llvm::SmallVector<int, 4> dynamic_shape_arg_index;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

      ReplaceClusterReturnWithReturn(return_op, builder);
    
      symbol_table->insert(outlined_func);
      return outlined_func;
    }
    
    // Outlines body of `tf_device.cluster` into a function and create a
    // `tf_device.cluster_func` to invoke that function. `tf_device.cluster` is
    // removed afterwards.`
    void OutlineCluster(tf_device::ClusterOp cluster_op, SymbolTable* symbol_table,
                        OpBuilder* builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir

    }
    
    // -----
    
    func.func @parallel_execute_regions_with_data_results(%arg0: tensor<i32>) -> tensor<i32> {
      // expected-error @+1 {{'func' attribute refers to an undefined function: undefined_func}}
      %0 = "tf_device.cluster_func"(%arg0) {func = @undefined_func} : (tensor<i32>) -> tensor<i32>
      func.return %0 : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

      let summary = "Invokes a program via IFRT on a device";
    
      let description = [{
        This op calls an IFRT program uniquely identified by the given program id.
    
        During lowering from a `tf_device.cluster_func` op to a `tf.IfrtCall` op,
        the region owned by the former will be outlined to a function with a
        `tfrt_ifrt_serving.program_id` attribute. After that, the runtime ensures
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/cannonicalize_ops_outside_compilation.mlir

        %1 = "tf.Shape"(%arg1) {_tpu_replicate = "cluster_Fn", _xla_outside_compilation = "0", device = ""} : (tensor<*x!tf_type.string>) -> tensor<*xi32>
        %2:3 = "tf.UnpackHyp"(%arg1) {_tpu_replicate = "cluster_Fn", _xla_outside_compilation = "0", device = "", max_seq_length = 16 : i64} : (tensor<*x!tf_type.string>) -> (tensor<*xi32>, tensor<*xi32>, tensor<*xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top