- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 142 for varhandle_op (0.28 sec)
-
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) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_lift_variables.mlir
%0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", device = "", shared_name = "dense/kernel"} : () -> tensor<!tf_type.resource<tensor<100x50xf32>>> %1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf_type.resource<tensor<100x50xf32>>>) -> tensor<100x50xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:47:26 UTC 2022 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir
// CHECK-NOT: IfrtLoadVariable // CHECK: "tf.VarHandleOp" // CHECK-NEXT: "tf.AssignVariableOp" // CHECK-NEXT: "tf.ReadVariableOp" // CHECK-NEXT: "tf.StatefulPartitionedCall" // CHECK-NEXT: return // module { func.func @serving_default() -> tensor<*xi32> { %cst = "tf.Const"() <{value = dense<"some_test.txt"> : tensor<!tf_type.string>}> : () -> tensor<!tf_type.string>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 15:33:17 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/resource_analyzer.mlir
// Test that VarHandleOp is not marked as "potentially written" if it is not // assigned inside the function called by "tf.BatchFunction". module { // CHECK-LABEL: @serving_default func.func @serving_default() -> (tensor<*xi32>) { // expected-remark@below {{device: "", container: "", shared_name: "var_0", is_potentially_written: false}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 14 15:35:49 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_variable_ops_to_ml_program.mlir
%0 = "tf.VarHandleOp"() {container = "", shared_name = "v"} : () -> tensor<!tf_type.resource<tensor<3xf32>>> %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf_type.resource<tensor<3xf32>>>) -> tensor<3xf32> %2 = "tf.VarHandleOp"() {container = "", shared_name = "v"} : () -> tensor<!tf_type.resource<tensor<?xf32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 19 19:00:41 UTC 2022 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc
} StringRef getDescription() const final { return "Removes `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` patterns " "from the initializer function of type 'restore_op'."; } void runOnOperation() override; }; // Finds and removes the `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` // pattern. `tf.VarHandleOp` and `tf.Const` are removed unless they are used by // other ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 03 12:04:03 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir
// CHECK-NOT: "tf.VarHandleOp" // CHECK-NOT: "tf.ReadVariableOp" // CHECK: %[[CONST:.*]] = "tf.Const"() // CHECK: %[[ADD:[0-9]*]] = "tf.AddV2"(%arg1, %[[CONST]]) // CHECK: %[[PACK:[0-9]*]] = "tf.Pack"(%[[CONST]], %[[ADD]]) // CHECK: return %[[PACK]] %0 = "tf.Const"() {value = dense<4.200000e+01> : tensor<f32>} : () -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init.mlir
attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf_saved_model.exported_names = ["serving_default"]} { // CHECK: "tf.VarHandleOp" %0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", device = "invalid", shared_name = "invalid_var"} : () -> tensor<!tf_type.resource<tensor<100x50xf32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 19 13:38:14 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir
// Make sure that there are no more `tf.VarHandleOp`s and `tf.AssignVariableOp`s // in this function. // CHECK-NOT: "tf.VarHandleOp" // CHECK-NOT: "tf.AssignVariableOp" // Only the large constant is replaced with the `tf.VarHandleOp -> // tf.ReadVariableOp` pattern and others remain as `tf.Const`s. // CHECK: @serving_default
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 17.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ifrt/lower_to_ifrt_restore_variable.mlir
%1 = "tf.VarHandleOp"() <{container = "", shared_name = "y"}> : () -> tensor<!tf_type.resource<tensor<3x1xf32>>> "tf.AssignVariableOp"(%1, %0) : (tensor<!tf_type.resource<tensor<3x1xf32>>>, tensor<3x1xf32>) -> () return } } // ----- // single variable: VarHandleOp is before RestoreV2 // CHECK-LABEL: func.func @varhandle_before_restore() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 8.8K bytes - Viewed (0)