Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for var_ (0.04 sec)

  1. tensorflow/compiler/jit/variable_info.cc

    VariableInfo::VariableInfo(
        int index, absl::string_view name, Var* var,
        const std::optional<ManagedStackTrace>& definition_stack_trace)
        : index_(index),
          name_(name),
          var_(var),
          definition_stack_trace_(definition_stack_trace) {}
    
    VariableInfo::VariableInfo(VariableInfo&& other)
        : index_(other.index_),
          var_(other.var_),
          definition_stack_trace_(other.definition_stack_trace_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/python/test_utils.py

          grads = gt.gradient(y, vars_)  # uses registered gradient function.
    
        # compute with composition
        with backprop.GradientTape() as gt:
          for var_ in vars_:
            gt.watch(var_)
          re_y = compute_composite(**kwargs)  # uses composite function.
          re_grads = gt.gradient(re_y, vars_)  # uses gradients compposite function.
    
        for v, re_v in zip(y, re_y):
          self.assertAllClose(v, re_v)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 02 18:32:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/variable_info.h

      int index() const { return index_; }
    
      // A pointer to the resource variable.  May be null if this VariableInfo is
      // "empty", i.e. it does not track a resource variable.
      Var* var() const { return var_; }
    
      // Returns the variable name.
      absl::string_view name() const { return name_; }
    
      // Returns true if the resource variable lock was successfully acquired by
      // this thread.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

        func.return %4 : tensor<100x50xf32>
      }
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var1"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var2"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

      // Create 2 resources and initialize them with dummy values.
      TF_CHECK_OK(device->resource_manager()->Create(
          container, "var1", new tensorflow::Var(tensorflow::DataType::DT_FLOAT)));
      TF_CHECK_OK(device->resource_manager()->Create(
          container, "var2", new tensorflow::Var(tensorflow::DataType::DT_FLOAT)));
    }
    
    Status FakeSession::Create(const tensorflow::GraphDef& graph) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

        - five
        - six
        - seven
        - eight
        - nine
        env:
        - name: VAR_3
          valueFrom:
            secretKeyRef:
              key: some-other-key
              name: some-oher-name
        - name: VAR_2
          valueFrom:
            secretKeyRef:
              key: other-key
              name: other-name
        - name: VAR_1
          valueFrom:
            secretKeyRef:
              key: some-key
              name: some-name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml

        - five
        - six
        - seven
        - eight
        - nine
        env:
        - name: VAR_3
          valueFrom:
            secretKeyRef:
              key: some-other-key
              name: some-oher-name
        - name: VAR_2
          valueFrom:
            secretKeyRef:
              key: other-key
              name: other-name
        - name: VAR_1
          valueFrom:
            secretKeyRef:
              key: some-key
              name: some-name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 19:51:58 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

        %var_0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
        "tf.AssignVariableOp"(%var_0, %cst_0) : (tensor<!tf_type.resource<tensor<2xf32>>>, tensor<2xf32>) -> ()
        %cst_1 = "tf.Const"() {value = dense<2.000000e+00> : tensor<3xf32>} : () -> tensor<3xf32>
        %var_1 = "tf.VarHandleOp"() {shared_name = "var_1"} : () -> tensor<!tf_type.resource<tensor<3xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

        // CHECK: %[[VAR0:.*]] = "tf.VarHandleOp"()
        %0 = "tf.VarHandleOp"() {container = "", shared_name = "var0"} : () -> tensor<!tf_type.resource<tensor<!tf_type.string>>>
    
        // CHECK: "tf.AssignVariableOp"(%[[VAR0]], %[[ASSET0]])
        "tf.AssignVariableOp"(%0, %arg0) : (tensor<!tf_type.resource<tensor<!tf_type.string>>>, tensor<!tf_type.string>) -> ()
    
        // CHECK: %[[VAR1:.*]] = "tf.VarHandleOp"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir

        %var_0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
        "tf.AssignVariableOp"(%var_0, %cst_0) : (tensor<!tf_type.resource<tensor<2xf32>>>, tensor<2xf32>) -> ()
        %add_0 = "tf.Identity"(%cst_0) : (tensor<2xf32>) -> tensor<2xf32>
        %var_1 = "tf.VarHandleOp"() {shared_name = "var_1"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top