- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for operandSegmentSizes (0.22 sec)
-
tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir
func.return %1 : tensor<*xf32> } // ----- // The num_batch_threads remains 3 (the same as the original attribute)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 17:38:34 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
<< ") to be equal to 'n' (" << n << ")"; } } Block& block = op.getBody().front(); auto operandSegmentSizes = op.getProperties().operandSegmentSizes; const int32_t num_replicated_inputs = operandSegmentSizes[0]; const int32_t num_packed_inputs = operandSegmentSizes[1]; if (num_replicated_inputs % n != 0) return op.emitOpError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/batch_function_lowering.mlir
func.return %1 : tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir
// CHECK: "tf.BatchFunction"(%arg0, %0) // CHECK: operandSegmentSizes = array<i32: 1, 1>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 01 23:54:14 UTC 2024 - 18.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir
// CHECK-LABEL: func @replicate_derived_operandSegmentSizes func.func @replicate_derived_operandSegmentSizes() { tf_device.replicate {n = 2 : i32, operandSegmentSizes = array<i32: 0, 0>} { } func.return // CHECK: tf_device.replicate // CHECK-SAME: n = 2 // CHECK-NOT: operandSegmentSizes // CHECK-NEXT: tf_device.return } // ----- // CHECK-LABEL: func @replicate_with_return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
enable_large_batch_splitting = false, f = @batched_function, max_batch_size = 6 : i64, max_enqueued_batches = 10 : i64, num_batch_threads = 1 : i64, operandSegmentSizes = array<i32: 1, 0>, shared_name = "batch_function" } : (tensor<1xi32>) -> tensor<1xi32> // CHECK: [[z:%.*]] = tf_mlrt.executeop
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir
data_format = "NHWC", dilations = [1, 1, 1, 1], epsilon = 9.99999974E-5 : f32, explicit_paddings = [], filter_format = "HWIO", fused_ops = ["BiasAdd", "Relu"], leakyrelu_alpha = 2.000000e-01 : f32, num_args = 2 : i64, operandSegmentSizes = array<i32: 1, 1, 2, 2>, padding = "SAME", strides = [1, 1, 1, 1], use_cudnn_on_gpu = true } : (tensor<1x300x300x40xi8>, tensor<3x3x40x40xi8>, tensor<40xf32>, tensor<0xi8>, tensor<f32>, tensor<f32>) -> tensor<1x300x300x40xi8>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir
%1 = func.call @finalize(%arg4, %arg5) : (tensor<6xf32>, tensor<2xf32>) -> tensor<5xf32> "tf.Yield"(%1) : (tensor<5xf32>) -> () }) {device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0", metadata = "", operandSegmentSizes = array<i32: 1, 2, 1>, output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]} : (tensor<4xf32>, tensor<3xf32>, tensor<!tf_type.resource>, tensor<2xf32>) -> tensor<!tf_type.variant> return } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 02 11:15:34 UTC 2024 - 44.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir
"tf.SendTPUEmbeddingGradients"(%2#0, %2#1) {_tpu_embedding_layer = "call1", config = "\0A\0B\0C\0D", operandSegmentSizes = array<i32: 2, 0>} : (tensor<2x2xf32>, tensor<4x4xf32>) -> () tf_device.return }) {allow_soft_placement = true, num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> () func.return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 16:22:32 UTC 2024 - 29.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
} void BatchFunctionOp::eraseArguments(const BitVector& erase_indices) { const StringRef operand_segment_size_attr = getOperandSegmentSizeAttr(); auto operandSegmentSizes = getOperation()->getAttrOfType<DenseI32ArrayAttr>( operand_segment_size_attr); // `operandSegmentSizes` attribute indicates the sizes of the two // variadic operands of `BatchFunctionOp`: `in_tensors` and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)