- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for IfRegion (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/rewrite_tpu_embedding_ops.mlir
} // CHECK-LABEL: func @doubly_nested_embedding_op func.func @doubly_nested_embedding_op(%arg0: tensor<i1>, %arg1: tensor<i1>, %arg2: tensor<512x256xf32>) -> (tensor<512x256xf32>) { %2 = "tf.IfRegion"(%arg0) ({ %1 = "tf.IfRegion"(%arg1) ({ // CHECK: "tf.XlaRecvTPUEmbeddingDeduplicationData" // CHECK: "tf.XlaRecvTPUEmbeddingActivations" // CHECK-NOT: tf.RecvTPUEmbeddingActivations
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc
// `tf_then_or_else_region` is the `then` or `else` region of the // `tf.IfRegion` op and `scf_then_or_else_region` is the `then` or `else` // region of the new `scf.if` op. Further, `tf_if_region_return_type` is the // list of return types of the `tf.IfRegion` op. auto createScfThenOrElse = [](Region& tf_then_or_else_region, Region& scf_then_or_else_region,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/convert-tf-control-flow-to-scf.mlir
// RUN: tf-opt -convert-tf-control-flow-to-scf %s | FileCheck %s // `tf.IfRegion` which returns values gets converted to `scf.if`. func.func private @test_if_then1(tensor<4xf32>) -> tensor<4xf32> func.func private @test_if_else1(tensor<4xf32>) -> tensor<4xf32> // CHECK-LABEL: func @test_supported_lowering_of_tf_if_region1 // CHECK-SAME: (%[[ARG0:.*]]: tensor<i1>, %[[ARG1:.*]]: tensor<4xf32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir
func.return } // CHECK-LABEL: @IfOpTokenAttrs func.func @IfOpTokenAttrs(%arg0: tensor<i1>, %arg1: tensor<f32>) -> (tensor<f32>) { // CHECK: tf.IfRegion %0 = "tf.IfRegion"(%arg0) ({ // CHECK: tf.XlaRecvFromHost // CHECK-SAME-DAG: _xla_original_oc_node_name = // CHECK-SAME-DAG: _xla_token_input_nodes = ["_xla_token_arg_node"]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 18:46:36 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir
// CHECK: %[[GET_NEXT:[0-9]*]] = "tf.IteratorGetNextAsOptional"(%[[ANON_ITER]]) // CHECK-NEXT: %[[HAS_VALUE:[0-9]*]] = "tf.OptionalHasValue"(%[[GET_NEXT]]) // CHECK-NEXT: %[[IF:.*]] = "tf.IfRegion"(%[[HAS_VALUE]]) // CHECK-NEXT: %[[GET_VALUE:[0-9]*]] = "tf.OptionalGetValue"(%[[GET_NEXT]]) // CHECK-NEXT: %[[FUNC_CALL:[0-9]*]] = func.call @__reduce_func_1(%[[ARG_5]], %[[GET_VALUE]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 18 17:16:34 UTC 2022 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu-cluster-cleanup-attributes.mlir
// CHECK-NOT: _replication_info = // CHECK-NOT: _xla_compile_device_type // CHECK-NOT: device = %1 = "tf_device.cluster"() ({ %2 = "tf.Add"(%arg1, %arg1) : (tensor<f32>, tensor<f32>) -> tensor<f32> %3 = "tf.IfRegion"(%arg0) ({ %4 = "tf.Mul" (%arg1, %2) {device = "y"}: (tensor<f32>, tensor<f32>) -> tensor<f32> "tf.Yield"(%4) : (tensor<f32>) -> () }, { // CHECK: device = "/device:TPU_REPLICATED_CORE:0"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:47:26 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.h
llvm::ArrayRef<func::FuncOp> functions, const BacktrackAnalysis& backtrack_analysis); // Analyzes tf.CaseRegion/tf.IfRegion ops to compute resource IDs. void AnalyzeRegionCaseOrIfOp(Operation* case_or_if_op, const BacktrackAnalysis& backtrack_analysis);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 7.6K bytes - Viewed (0)