- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Variable_1 (0.52 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/mlprogram.mlir
// CHECK-DAG: ml_program.global public @vars.Variable_1([]) : tensor<!tf_type.string> func.func @lowers_string_ops(%arg0: tensor<128xi32>, %arg1: tensor<128xi32>, %arg2: tensor<128x1xi32>, %arg3: tensor<128x90xi32>, %arg4: tensor<128x90xi32>, %arg5: tensor<128x90xi32>, %arg6: tensor<128x90x64xf32>, %arg7: tensor<128x90x64xf32>) -> tensor<!tf_type.string> { // CHECK: %[[v0:.*]] = ml_program.global_load @vars.Variable_1 : tensor<!tf_type.string>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 19:27:16 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/aot/tests/make_test_graphs.py
math_ops.add(x, y, name='x_y_sum') def tfadd_with_ckpt(out_dir): x = array_ops.placeholder(dtypes.int32, name='x_hold') y = variable_v1.VariableV1(constant_op.constant([0]), name='y_saved') math_ops.add(x, y, name='x_y_sum') init_op = variables.global_variables_initializer() saver = saver_lib.Saver(write_version=saver_pb2.SaverDef.V1) with session.Session() as sess: sess.run(init_op)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 15 15:25:23 UTC 2023 - 7.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/generate_saved_models.py
class VarsAndArithmeticObjectGraph(module.Module): """Three vars (one in a sub-module) and compute method.""" def __init__(self): self.x = variables.Variable(1.0, name="variable_x") self.y = variables.Variable(2.0, name="variable_y") self.child = module.Module() self.child.z = variables.Variable(3.0, name="child_variable") self.child.c = ops.convert_to_tensor(5.0) @def_function.function(input_signature=[
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 18:06:18 UTC 2023 - 4.6K bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2_test.cc
// Ensure that there are nodes in the trackable_object_graph. EXPECT_GT(bundle.trackable_object_graph().nodes_size(), 0); RestoreVarsAndVerify(&bundle, {"variable_x", "variable_y", "child_variable"}); } TEST_F(BundleV2Test, LoadsCyclicModule) { const std::string export_dir = io::JoinPath(testing::TensorFlowSrcRoot(), kTestData, "CyclicModule");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 17:51:15 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir
attributes {tf._input_shapes = [#tf_type.shape<1x3>, #tf_type.shape<*>], tf.signature.is_stateful} { // CHECK-DAG: [[handle1:%.*]] = "tf.VarHandleOp"() <{{{.*}}, shared_name = "variable1"}> // CHECK-DAG: [[handle2:%.*]] = "tf.VarHandleOp"() <{{{.*}}, shared_name = "variable2"}> // CHECK: "tf.ReadVariableOp"([[handle1]]) // CHECK: "tf.ReadVariableOp"([[handle2]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 21K bytes - Viewed (0)