Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for BatchFunction (0.19 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/batch_function_fallback_resource_variable_as_captured_tensor.mlir

          // CHECK-SAME: Tcaptured = [!corert.resource]
          // CHECK-SAME: Tin = []
          // CHECK-SAME: Tout = [f32]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

    namespace {
    
    // Returns the ops that should use node name if shared_name is empty.
    const llvm::StringSet<>& GetOpsUsingNodeName() {
      static auto* const ops =
          new llvm::StringSet<>({"VariableV2", "Variable", "BatchFunction"});
      return *ops;
    }
    
    // Returns the set of ops that we want to generate shared_names for them if
    // empty.
    const llvm::StringSet<>& GetSharedNameGenerationCompatibleOps() {
      return GetOpsUsingNodeName();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:33:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let assemblyFormat = "$input attr-dict";
    }
    
    def BatchFunctionOp : TensorflowMlrt_Op<"batch_function", [Pure]> {
      let summary = "Fallback ExecuteOp specialized for tf.BatchFunction.";
    
      let description = [{
        This kernel executes a variant tf.BatchFunction kernel that supports having
        the `f` attribute as a bytecode function.
    
        Example:
          %res = tf_mlrt.batch_function(%input, %captured_input)  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

    }
    
    def BatchFunctionOp : FallbackAsync_Op<"batch_function",
        [Pure, CoreRT_TypedAttributeTrait]> {
      let summary = "Fallback ExecuteOp specialized for tf.BatchFunction.";
      let description = [{
        This kernel executes a variant tf.BatchFunction kernel that supports having
        the `f` attribute as a BEF function.
    
        Example:
          %res = tfrt_fallback_async.batch_function device("/CPU:0") @f(%input, %captured_input)  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      %v = "tf.AddV2"(%y, %z) {__op_key = 4: i32}: (tensor<i32>, tensor<i32>) -> tensor<i32>
      return %w, %u, %v : tensor<i32>, tensor<i32>, tensor<i32>
    }
    
    // -----
    
    // Test lowering BatchFunction op.
    
    func.func @batched_function(%x: tensor<?xi32>) -> tensor<?xi32> {
      return %x : tensor<?xi32>
    }
    
    // CHECK-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

      func.func @f(%arg: tensor<1xf32>) -> (tensor<*xf32>, tensor<*xf32>) {
        %handle = "tf.VarHandleOp"() {shared_name = "var1"} : () -> tensor<!tf_type.resource<tensor<0xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir

      // CHECK: [[batch_result:%.*]] = tf_mlrt.await [[batch_result_future]]
      // CHECK-NEXT: [[rendezvous_key_base:%.*]] = tf_mlrt_tpu.compile_and_execute([[batch_result]])
      // CHECK-NEXT: return [[rendezvous_key_base]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %arg0 : tensor<f32>
    }
    
    // -----
    
    func.func @test_batch_function_with_valid_symbol(%arg0: tensor<1x3xf32>, %arg1: tensor<!tf_type.resource<tensor<1x3xf32>>>) -> () {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$metadata
      );
    
      let results = (outs
        TF_VariantTensor:$handle
      );
    }
    
    def TF_BatchFunctionOp : TF_Op<"BatchFunction", [AttrSizedOperandSegments, DeclareOpInterfaceMethods<SymbolUserOpInterface>, Pure]> {
      let summary = [{
    Batches all the inputs tensors to the computation done by the function.
      }];
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top