- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for batch_function (0.52 sec)
-
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
} def BatchFunctionOp : TensorflowMlrt_Op<"batch_function", [Pure]> { let summary = "Fallback ExecuteOp specialized for tf.BatchFunction."; let description = [{ This kernel executes a variant tf.BatchFunction kernel that supports having the `f` attribute as a bytecode function. Example: %res = tf_mlrt.batch_function(%input, %captured_input) { device = "/device:CPU:0",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir
func.func @callee(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>) { func.return %arg0: tensor<i32> } // CHECK-LABEL: func @batch_function func.func @batch_function(%arg0: tensor<i32>) -> (tensor<i32>) { // CHECK: [[batch_result_future:%.*]] = tf_mlrt.batch_function // CHECK: [[batch_result:%.*]] = tf_mlrt.await [[batch_result_future]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 21:25:31 UTC 2023 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
} // ----- // Test lowering BatchFunction op. func.func @batched_function(%x: tensor<?xi32>) -> tensor<?xi32> { return %x : tensor<?xi32> } // CHECK-LABEL: func @main func.func @main(%x: tensor<1xi32>) -> (tensor<1xi32>, tensor<1xi32>, tensor<1xi32>) { // CHECK: [[y_future:%.*]] = tf_mlrt.batch_function // CHECK-SAME: f = @batched_function // CHECK-SAME: \22batch_function\22
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/tfrt/ir/tfrt_fallback_async.td
} def BatchFunctionOp : FallbackAsync_Op<"batch_function", [Pure, CoreRT_TypedAttributeTrait]> { let summary = "Fallback ExecuteOp specialized for tf.BatchFunction."; let description = [{ This kernel executes a variant tf.BatchFunction kernel that supports having the `f` attribute as a BEF function. Example: %res = tfrt_fallback_async.batch_function device("/CPU:0") @f(%input, %captured_input) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback.mlir
!tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor, !tfrt_fallback.tf_tensor) { %res:112 = tfrt_fallback_async.batch_function device("/device:CPU:0") @f (%arg1, %arg2, %arg3, %arg4, %arg5, %arg6, %arg7, %arg8, %arg9, %arg10,%arg11, %arg12, %arg13, %arg14,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 08 08:08:48 UTC 2023 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/sink_in_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 Oct 30 06:52:55 UTC 2023 - 21K 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/transforms/functional_control_flow_to_regions.cc
CopyDeviceAndUnderscoredAttributes(case_op, case_region); for (const auto& item : llvm::enumerate(case_region.getBranches())) { CreateCall(case_op, case_op.branch_function(item.index()), /*caller_region=*/item.value(), case_op.getInput(), /*use_region_args=*/false, /*forward_block_args=*/false); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 23.6K bytes - Viewed (0)