Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for PartitionedCall (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```
    
        `_XlaMustCompile=true` in the following code
    
        ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // PartitionedCall op legalization.
    //===----------------------------------------------------------------------===//
    
    // -----
    
    // CHECK-LABEL: func @partitioned_call
    func.func @partitioned_call(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK: call @pcall_func(%arg0) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

                                                    arg_buffer_size_is_fixed(i)};
        }
      }
      UpdateFuncType(func);
    }
    
    // Holds information about a decomposed callee function for
    // PartitionedCall/StatefulPartitionedCall.
    struct PartitionedCallDecompositionInfo {
      bool signature_change;
      func::FuncOp decomposed_callee;
      llvm::SmallDenseMap<int64_t, int64_t> buffer_arg_to_size_arg;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

    func.func @serving_default(%arg0: tensor<?xf32> {tf.device = "/job:localhost/replica:0/task:0/device:CPU:0"}) -> tensor<3xf32> attributes {tf.entry_function = {control_outputs = "", inputs = "serving_default_input:0", outputs = "PartitionedCall:0"}} {
      %cst = "tf.Const"() {device = "/job:localhost/replica:0/task:0/device:CPU:0", value = dense<0> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %3 = arith.constant dense<0> : tensor<i32>
    
      // CHECK: PartitionedCall
      // CHECK-SAME: f = @add
      // CHECK-SAME: device = "noodle"
      %4 = "tf.Case"(%2, %arg0, %arg1) {branches = [@sub, @add], output_shapes = [#tf_type.shape<>], device = "noodle", is_stateless = false} : (tensor<i32>, tensor<f32>, tensor<f32>) -> tensor<f32>
      // CHECK: PartitionedCall
      // CHECK-SAME: f = @sub
      // CHECK-SAME: _cluster_launch = "not_ready"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // `potential_refined_type`. Return true if the type was changed.
      bool RefineResultType(Operation* op, Value result,
                            Type potential_refined_type);
    
      // Infers the shape from a (Stateful)PartitionedCall operation by looking up
      // the called function and propagating the return type.
      bool InferShapeForCall(CallOpInterface call_op);
    
      bool InferShapeForCast(Operation* op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        The LegacyCall operation represents a direct call to a function that is
        within the same symbol scope as the call and is mapped to a GraphDef node
        with the function name as the op name. Unlike a PartitionedCall which
        represents asynchronously executing a function across multiple devices, a
        LegacyCall ignores specification for ops in the attached function and
        instead executes it on the device assigned to this op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        }
      }
      return false;
    }
    
    // Returns whether the current op is not supported by the TF Lite runtime.
    static bool IsUnsupportedFlexOp(const std::string& op_name) {
      return op_name == "PartitionedCall" || op_name == "StatefulPartitionedCall";
    }
    
    // Create description of operation that could not be converted.
    static std::string GetOpDescriptionForDebug(Operation* inst) {
      const int kLargeElementsAttr = 16;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        # true branch doesn't.
        def _is_quantized_function_call_node(
            node_def: node_def_pb2.NodeDef,
        ) -> bool:
          return node_def.op == 'PartitionedCall' and node_def.attr[
              'f'
          ].func.name.startswith('quantized_')
    
        for func in output_graphdef.library.function:
          if func.signature.name.startswith('cond_false'):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      Value return_values[] = {selected_input, selected_index};
      b.create<ReturnOp>(return_values);
    }
    
    //===----------------------------------------------------------------------===//
    // PartitionedCall op utilities.
    //===----------------------------------------------------------------------===//
    
    // Verify that the arguments to be passed into the function are the same types
    // as the function paramter types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top