- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for Yield (0.05 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
"tf.IfRegion"(%0) ( { %2 = "tf.A"() : () -> (tensor<f32>) "tf.Yield"() : () -> () }, { "tf.Yield"() : () -> () }) { is_stateless = true } : (tensor<i1>) -> () "tf.IfRegion"(%0) ( { %2 = "tf.B"() : () -> (tensor<f32>) "tf.Yield"() : () -> () }, { "tf.Yield"() : () -> () }) { is_stateless = true } : (tensor<i1>) -> () ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir
// CHECK: %[[MUL:.*]] = "tf.Mul"(%[[ARG0]], %[[ARG1]]) // CHECK: "tf.Yield"(%[[MUL]]) : (tensor<f32>) // CHECK: }, { // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[ARG0]], %[[ARG1]]) // CHECK: "tf.Yield"(%[[SUB]]) : (tensor<f32>) // CHECK: }, { // CHECK: %[[ADD:.*]] = "tf.AddV2"(%[[ARG0]], %[[ARG1]]) // CHECK: "tf.Yield"(%[[ADD]]) : (tensor<f32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
yield.getOperands().begin()); } mlir::LogicalResult ControlNodeOp::verify() { ControlNodeOp control_node = *this; if (!control_node.GetBody().args_empty()) return control_node.emitOpError() << "expects body without any arguments"; Operation& yield = control_node.GetBody().back(); if (!isa<YieldOp>(yield)) return yield.emitOpError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
outlier = np.random.uniform(low=0, high=10, size=(1, 3, 4, 3)).astype( 'f4' ) outlier[0][0][0][0:2] = [-1000, 1000] yield {'input_tensor': ops.convert_to_tensor(outlier)} for _ in range(10): yield { 'input_tensor': ops.convert_to_tensor( np.random.uniform(low=0, high=10, size=(1, 3, 4, 3)).astype( 'f4'
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// Allow either the "yield cond" or "yield cond, arg1, ... argN" form, // for the yield in the condition block. if (cond_yield->getNumOperands() != 1 && cond_yield->getNumOperands() != op.getCond().getArguments().size() + 1) return op.emitOpError() << "condition should yield a tensor<i1> and forward the arguments"; auto cond_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// Inline the region in place of the IfRegion op, and forward the yield // inputs to the IfRegion op results. This is possible only if the yield // types match the result types. auto yield = cast<YieldOp>(region.front().getTerminator()); auto updated_results = llvm::to_vector<4>(yield.getOperands()); // If the yield types do not match the IfRegion result types, add appropriate // casts.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
%1 = func.call @WhileOp_cond(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> tensor<i1> "tfl.yield"(%1) : (tensor<i1>) -> () }, { ^bb0(%arg2: tensor<*xi32>, %arg3: tensor<*xf32>): %1:2 = func.call @WhileOp_body(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) "tfl.yield"(%1#0, %1#1) : (tensor<*xi32>, tensor<*xf32>) -> () }) : (tensor<i32>, tensor<1xf32>) -> (tensor<i32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
%x_true = ... %y_true = ... tfl.yield %x_true, %y_true : tensor<f32>, tensor<f32> } else { %x_false = ... %y_false = ... tfl.yield %x_false, %y_false : tensor<f32>, tensor<f32> } ``` `tfl.if` regions are always terminated with "tfl.yield". If "tfl.if" defines no values, the "tfl.yield" can be left out, and will be inserted
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
sink.writeUtf8(content) sink.close() } /** * @param delta the offset from the current date to use. Negative values yield dates in the past; * positive values yield dates in the future. */ private fun formatDate( delta: Long, timeUnit: TimeUnit, ): String {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
for (auto branch : while_region.getRegions()) add_to_worklist(branch->getArgument(use.getOperandNumber())); continue; } if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) { Operation* parent = yield->getParentOp(); add_to_worklist(parent->getResult(use.getOperandNumber())); continue; } // TODO(jpienaar): This can be generalized.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)