Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for BatchFunction (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/batch_use_same_function/saved_model.pbtxt

    # Test importing a saved model with 2 signatures that are using a same
    # BatchFunction Op, which references to a same inference_func from graph_def
    # library. The result should be that both signatures uses the same
    # BatchFunction Op (the shared_name is the same) and the same copy of
    # inference_func.
    
    # CHECK: f = @inference_func[[post_fix:[^,]*]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 09 16:20:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir

      %2 = "tf.Identity"(%arg0) : (tensor<1x3xf32>) -> tensor<1x3xf32>
      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32>) -> tensor<*xf32> {
      // CHECK:  "tf.BatchFunction"
      // CHECK-SAME: allowed_batch_sizes = [6]
      // CHECK-SAME: batch_timeout_micros = 100000 : i64
      // CHECK-SAME: batching_queue = ""
      // CHECK-SAME: container = ""
      // CHECK-SAME: enable_large_batch_splitting = false
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 17:38:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/resource_analyzer.mlir

    // assigned inside the function called by "tf.BatchFunction".
    
    module {
    // CHECK-LABEL: @serving_default
      func.func @serving_default() -> (tensor<*xi32>) {
        // expected-remark@below {{device: "", container: "", shared_name: "var_0", is_potentially_written: false}}
        %0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xi32>>>
        %1 = "tf.BatchFunction"(%0) {
            f = @called_by_batch_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)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/batch_function_deduplicate.mlir

    // the functions invoked by BatchFunction with the same shared_name and the
    // function `compute_2` will not be removed as the shared_name is different.
    
    // CHECK-LABEL: func private @batch_0
    // CHECK: f = @compute_0
    func.func private @batch_0(%arg0: tensor<?x?xi32>) -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/force_shared_name_for_resource_ops.pbtxt

    # CHECK: "tf.BatchFunction"
    # CHECK-SAME: shared_name = "batch_node"
    
    # CHECK: func private @create_resource
    # CHECK: tf.HashTableV2
    # CHECK-SAME: shared_name = "hash_table_node@create_resource"
    # CHECK: "tf.Variable"
    # CHECK-SAME: shared_name = "variable_node"
    # CHECK: "tf.VariableV2"
    # CHECK-SAME: shared_name = "variable_v2_node"
    # CHECK: "tf.BatchFunction"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 31 02:37:48 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tpu_model_to_cpu.mlir

    // CHECK: return %[[identity]] : tensor<1x3x2x2xf32>
    
    // -----
    
    // Tests that `tf.BatchFunction` is inlined.
    
    func.func @serving_default(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

      %0 = "tf.VarHandleOp"() {device = "/device:CPU:0", container = "", shared_name = "variable"} : () -> tensor<!tf_type.resource<tensor<1x3xf32>>>
    
      // CHECK: "tf.BatchFunction"(%arg0, %0)
      // CHECK: operandSegmentSizes = array<i32: 1, 1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/batch_function_lowering.mlir

      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32>) -> tensor<*xf32> attributes {tf.entry_function = {control_outputs = "", inputs = "input:0", outputs = "batch/BatchFunction:0"}} {
      %0 = "tf.VarHandleOp"() {device = "/device:CPU:0", container = "", shared_name = "variable"} : () -> tensor<!tf_type.resource<tensor<1x3xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/batch_function_deduplicate_failed.mlir

    // This test verifies the error when two functions are different but invoked by
    // the batch functions with same shared_name.
    
    func.func private @batch_0(%arg0: tensor<?x?xi32>) -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

      // CHECK:  "tf._TfrtGetResource"()
      %cst = "tf.Const"() <{value = dense<1> : tensor<1xi32>}> {device = "/CPU:0"} : () -> tensor<1xi32>
      // CHECK:  "tf.BatchFunction"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top