- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,621 for variable2 (0.24 sec)
-
tensorflow/cc/saved_model/testdata/StaticHashTableModule/variables/variables.index
Brian Zhao <******@****.***> 1600836345 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 23 04:49:47 UTC 2020 - 144 bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/convert_ref_variables.mlir
// Test the basic cases where all uses of a ref variable can be converted. // CHECK-LABEL: @init func.func @init() { // CHECK-NOT: tf.VariableV2 // CHECK-NOT: tf.Assign // CHECK: [[handle:%.*]] = "tf.VarHandleOp" // CHECK-SAME: shared_name = "x" // CHECK: "tf.AssignVariableOp"([[handle]], {{%.*}})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir
// CHECK-NEXT: "tf.TPUReshardVariables"(%[[V0]], %[[V1]], %[[DEFAULT]], %[[STATE]]) // CHECK-NEXT: tf_device.return func.return } } // ----- // Tests that the pass does not format variables with other uses. !tf_res_f32 = tensor<*x!tf_type.resource<tensor<f32>>> !tf_res_md_f32 = tensor<*x!tf_type.resource<tensor<3x3x1x32xf32>>> // Multi-dim f32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/analyze-variables.mlir
// RUN: tf-opt %s -split-input-file -tfl-analyze-variables-pass --cse | FileCheck %s // CHECK: module attributes {tfl._legalize_tfl_variables = true} module { func.func @f() -> tensor<*xi32> { %0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<tensor<*xi32>>> %2 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf_type.resource<tensor<*xi32>>>) -> tensor<*xi32> func.return %2 : tensor<*xi32> } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 09 11:49:28 UTC 2022 - 5.6K bytes - Viewed (0) -
pkg/env/var.go
BOOL // Variable holds a signed integer. INT // Variables holds a floating point value. FLOAT // Variable holds a time duration. DURATION // Variable holds a dynamic unknown type. OTHER ) // Var describes a single environment variable type Var struct { // The name of the environment variable. Name string // The optional default value of the environment variable. DefaultValue string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_ops.cc
})); mutex_lock ml(*variable->mu()); OP_REQUIRES( context, !variable->is_initialized || variable->tensor()->dtype() == dtype_, errors::InvalidArgument( "Trying to assign variable with wrong dtype. Expected ", DataTypeString(variable->tensor()->dtype()), " got ", DataTypeString(dtype_))); variable->is_initialized = true; *variable->tensor() = value; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir
// RUN: tf-opt -split-input-file -verify-diagnostics -tf-tpu-merge-variables-with-execute %s | FileCheck %s // Tests that the pass merges only variable reads/writes on the same device. // CHECK-LABEL: func @merge_same_device_variables // CHECK-SAME: %[[ARG_0:.*]]: tensor<*x!tf_type.resource<tensor<32xf32>>> // CHECK-SAME: %[[ARG_1:.*]]: tensor<*x!tf_type.resource<tensor<64xf32>>> // CHECK-SAME: %[[ARG_2:.*]]: tensor<*x!tf_type.resource<tensor<16xf32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 24.5K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model_test.cc
&inputs, &outputs)); // If using normal variables there should be 3 nodes in the resulting // graph_def. If using resource variables there should be 4 nodes in the // resulting graph_def if use_identity == false, otherwise 5 variables. // In both cases, none should be variables. size_t expected_nodes = use_resource ? (use_identity ? 5 : 4) : 3;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 13:30:31 UTC 2022 - 21.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
namespace tensorflow { namespace parallel_device { // A helper for performing common operations on variables. A much more // restricted stand-in for tf.Variable in Python. class Variable { public: // Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 09 01:12:35 UTC 2021 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir
// RUN: tf-opt %s -tfl-quantize-variables | FileCheck %s // RUN: tf-opt %s -tfl-prepare-quantize -tfl-quantize -tfl-post-quantize -tfl-quantize-variables -tfl-quantize -tfl-post-quantize | FileCheck --check-prefix=WHOLE-PASSES %s // CHECK-LABEL: QuantizeReadVariable func.func @QuantizeReadVariable() -> (tensor<1x2x1x3x!quant.uniform<i8:f32, 1.0>>) { %1 = "tfl.var_handle"() : () -> tensor<!tf_type.resource>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 20.3K bytes - Viewed (0)