- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,768 for variable1 (0.15 sec)
-
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/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/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) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc
Variable** variable) { absl::optional<int> node = internal::FindNodeAtPath(variable_path, bundle_.saved_object_graph()); if (!node.has_value()) { return errors::NotFound("No saved object found at path ", variable_path); } auto variables_iter = revived_objects_.variables.find(*node); if (variables_iter == revived_objects_.variables.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/go/types/assignments.go
if len(newVars) == 0 && !hasErr { check.softErrorf(pos, NoNewVar, "no new variables on left side of :=") return } // declare new variables // spec: "The scope of a constant or variable identifier declared inside // a function begins at the end of the ConstSpec or VarSpec (ShortVarDecl // for short variable declarations) and ends at the end of the innermost // containing block."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
if len(newVars) == 0 && !hasErr { check.softErrorf(pos, NoNewVar, "no new variables on left side of :=") return } // declare new variables // spec: "The scope of a constant or variable identifier declared inside // a function begins at the end of the ConstSpec or VarSpec (ShortVarDecl // for short variable declarations) and ends at the end of the innermost // containing block."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir
// RUN: tf-opt %s -split-input-file -tfl-legalize-variables-tf --cse | FileCheck %s // Test for case with no session initialize op. module attributes {tf_saved_model.semantics} { // CHECK-LABEL: serving_default func.func @serving_default(%arg0: tensor<1x10xf32> {tf_saved_model.index_path = ["x"]}) ->
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.cc
if (variables[a]->var() && variables[b]->var()) { return variables[a]->var()->mu() < variables[b]->var()->mu(); } // Move all the empty VariableInfo instances to the end. return variables[a]->var() != nullptr; }); mutex* prev = nullptr; for (int i : lock_order) { Var* variable = variables[i]->var(); if (variable == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go
}, { name: "single boolean variable in expression", variables: []NamedExpressionAccessor{ &testVariable{ name: "fortuneTelling", expression: "true", }, }, attributes: endpointCreateAttributes(), expression: "variables.fortuneTelling", expectedResult: true, }, { name: "variable of a list", variables: []NamedExpressionAccessor{ &testVariable{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 8.2K bytes - Viewed (0)