- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for device_var_reads_indices (0.34 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tpu_colocate_composite_resource_ops.mlir
%1 = "tf.A"() : () -> (tensor<2x!tf_type.string>) "tf_device.launch"() ({ "tf.TPUExecuteAndUpdateVariables"(%arg1, %1) {device_var_reads_indices = [0], device_var_updates_indices = [-1]} : (tensor<*x!tf_type.resource<tensor<4xf32>>>, tensor<2x!tf_type.string>) -> () tf_device.return }) {device = "TPU_REPLICATED_CORE_0"} : () -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir
// CHECK: "tf.TPUExecuteAndUpdateVariables"(%[[ID]], %[[R1]], %[[COMPILE]]#1) "tf_device.launch"() ({ "tf.TPUExecuteAndUpdateVariables"(%id, %arg31, %compile#1) {device_var_reads_indices = [0, 1], device_var_updates_indices = [0, 1]} : (tensor<*x!tf_type.resource<tensor<f32>>>, tensor<*x!tf_type.resource<tensor<3x3x1x32xf32>>>, tensor<2x!tf_type.string>) -> () tf_device.return
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/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
llvm::SmallVector<int64_t, 8> device_var_reads_indices; llvm::SmallVector<int64_t, 8> device_var_updates_indices; for (auto resource : var_access_info.resources_read) { auto info_it = var_access_info.per_resource_info.find(resource); if (info_it == var_access_info.per_resource_info.end()) continue; device_var_reads_indices.push_back(info_it->second.execute_input_index);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/colocate_tpu_copy_with_dynamic_shape.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 00:30:27 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir
// CHECK: [[exe:%.*]] = tf_executor.island({{.*}}) wraps "tf.TPUExecuteAndUpdateVariables" %exe_control = tf_executor.island wraps "tf.TPUExecuteAndUpdateVariables"(%arg0, %arg0, %key) { device_var_reads_indices = [0, 1], device_var_updates_indices = [0, 1], device = "task:0" } : (!tf_res, !tf_res, !tf_str) -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 18:35:00 UTC 2024 - 68.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir
// CHECK-SAME: <{device = "/job:localhost/replica:0/task:0/device:TPU:0"}> // CHECK-NEXT: "tf.TPUExecuteAndUpdateVariables"(%[[ID_0]], %[[ARG_1]], %[[READ_2]], %[[COMPILE]]#1) // CHECK-SAME: device_var_reads_indices = [0, 1], // CHECK-SAME: device_var_updates_indices = [0, -1] %execute:2 = "tf_device.launch"() ({ %0:2 = "tf.TPUExecute"(%read0, %read1, %read2, %compile#1) {
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/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir
%read2, %read2_control = tf_executor.island wraps "tf.ReadVariableOp"(%arg1) : (!tf_res) -> tensor<f32> tf_executor.island wraps "tf.TPUExecuteAndUpdateVariables"(%ret0, %ret1, %key) { device_var_reads_indices = [0, 1], device_var_updates_indices = [0, 1]} : (!tf_res, !tf_res, !tf_str) -> () tf_executor.fetch %ret0, %ret1: !tf_res, !tf_res } func.return %graph#0, %graph#1 : !tf_res, !tf_res }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 03:07:35 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td
%3 = "tf.AssignVariableOp"(%arg0, %2) ``` will be transformed into ```mlir %2 = "tf.TPUExecuteAndUpdateVariables"(%arg0, %arg1, %compile) { device_var_reads_indices = [0, 1], device_var_updates_indices = [0, -1] } ```` The transformation happens only for on-device variables. The above
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 10 18:58:57 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
// expected-error@below {{requires 'device_var_reads_indices' to be the same size as number of resource handles in 'args' (1), but got 2}} "tf.TPUExecuteAndUpdateVariables"(%arg0, %arg1) {device_var_reads_indices = [0, 1], device_var_updates_indices = [0]} : (tensor<!tf_type.resource<tensor<i32>>>, tensor<3x!tf_type.string>) -> () func.return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md
%3 = "tf.AssignVariableOp"(%arg0, %2) ``` will be transformed into ```mlir %2 = "tf.TPUExecuteAndUpdateVariables"(%arg0, %arg1, %compile) { device_var_reads_indices = [0, 1], device_var_updates_indices = [0, -1] } ```` The transformation happens only for on-device variables. The above transformation requires `%arg0`, `%arg1` to have the same device assignment
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 02 02:26:39 UTC 2023 - 96.4K bytes - Viewed (0)