Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for while_node (0.25 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

        return %cst_0 : tensor<8xf32>
      }
    }
    
    
    // -----
    
    // Tests the case when there are functions called from the main function such as while_body/while_cond.
    
    module attributes {tf_saved_model.semantics} {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

      %2 = "tf.LogicalAnd"(%0, %1) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<i1>, tensor<i1>) -> tensor<i1>
      return %2 : tensor<i1>
    }
    
    // CHECK-LABEL: map/while_body
    func.func private @"map/while_body"(%arg0: tensor<i32>, %arg1: tensor<i32>, %arg2: tensor<!tf_type.variant<tensor<*xf32>>>, %arg3: tensor<?xf32>) -> (tensor<i32>, tensor<i32>, tensor<!tf_type.variant<tensor<*xf32>>>, tensor<?xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir

              body = @while_body,
              cond = @while_cond, is_stateless = false}
            : (tensor<i32>, !tf_res,
               !tf_res) ->
              (tensor<i32>, !tf_res,
               !tf_res)
          tf_executor.yield
        }
        tf_executor.fetch %island : !tf_executor.control
      }
      func.return
    }
    
    // CHECK-LABEL: func @while_body
    func.func @while_body(
      %arg0: tensor<i32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 16:01:45 UTC 2022
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_weights.mlir

        %0:5 = "tf.While"(%cst_0, %cst, %cst_0, %arg0, %cst_1) {T = [i32, i32, i32, f32, f32],_lower_using_switch_merge = true, _num_original_outputs = 5 : i64, _read_only_resource_inputs = [], body = @while_body, cond = @while_cond, device = "", is_stateless = true, output_shapes = [#tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<1x1024>, #tf_type.shape<1024x1024>], parallel_iterations = 10 : i64, shape_invariant} : (tensor<i32>, tensor<i32>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 42K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

      // expected-remark@below {{Result #2, ID 3 : 1, 2, 3, 5, 6}}
      %w:3 = "tf.While"(%arg0, %arg1, %arg2) {
                body = @while_body, cond = @while_cond, is_stateless = false
             } : (!tf_res, !tf_res, !tf_res) -> (!tf_res, !tf_res, !tf_res)
      func.return
    }
    
    // CHECK-LABEL: func @while_body
    // Return 0 : new unknown resource
    // Return 1 : arg2
    // Return 2 : arg1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-input-func-arg-name-collision.pbtxt

    # This check that we don't error out when importing GraphDef containing
    # functions with arg name that are the same as the graph input name
    
    # CHECK: func @main(%arg0: tensor<{{.*}}i32>) -> tensor<{{.*}}i32>
    # CHECK: func private @while_body
    # CHECK: func private @while_cond
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "_user_specified_name"
        value {
          s: "input"
        }
      }
      attr {
        key: "dtype"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

    }
    
    // CHECK-LABEL:   func @rnn(
    // CHECK:           tfl.while
    // CHECK:             tfl.yield
    // CHECK-SAME:  (tensor<i1>) -> ()
    // CHECK:             [[VAL_30:%.*]]:7 =
    // CHECK: call @tfl.while_body
    // CHECK:             tfl.yield
    // CHECK-SAME: (tensor<i32>, tensor<i32>, tensor<*xf32>, tensor<4x2xf32>, tensor<4x2xf32>, tensor<*xf32>, tensor<4x4x3xf32>) -> ()
    
    // CHECK-LABEL:   func private @tfl.while_cond(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

      "tf.StackCloseV2"(%stack) : (tensor<!tf_type.resource>) -> ()
      // CHECK: return
      func.return
    }
    // CHECK: func @while_body(%[[BARG0:.*]]: tensor<!tf_type.resource<tensor<10xf32>>>, %[[BARG1:.*]]: tensor<i32>, %[[BARG2:.*]]: tensor<!tf_type.resource<tensor<1xi32>>>)
    func.func @while_body(%arg0: tensor<!tf_type.resource>, %arg1: tensor<i32>) -> (tensor<!tf_type.resource>, tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      // This is necessary because object graph functions may refer to functions
      // _not_ in the object graph: A while loop, for example, will create two
      // auxiliary `while_cond` and `while_body` functions that are only present in
      // the graph def function library.
      for (const FunctionDef& function :
           bundle.meta_graph_def().graph_def().library().function()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      func.return
    }
    // CHECK: func @while_body(%[[BARG0:.*]]: tensor<!tf_type.resource<tensor<5x3xf32>>>, %[[BARG1:.*]]: tensor<i32>, %[[BARG2:.*]]: tensor<!tf_type.resource<tensor<5x3xf32>>>)
    func.func @while_body(%arg0: tensor<!tf_type.resource>, %arg1: tensor<i32>) -> (tensor<!tf_type.resource>, tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
Back to top