- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for OptionalHasValue (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir
// CHECK: ^bb0(%[[ARG_4:.*]]: tensor<i1>, %[[ARG_5:.*]]: tensor<i64>) // 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]])
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/tfr/integration/node_expansion_pass.cc
// their "no-op" expansion is known to cause problems in some cases. static const char* kOpsToSkip[] = { "IdentityOp", "NoOp", // b/174596063 "OptionalHasValue", // b/173136483 "OptionalGetValue", // b/173136483 "VarHandleOp", // b/176819198 }; for (const char* skip : kOpsToSkip) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Feb 25 16:22:36 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_ops.h
data::OptionalFromValueOp); \ REGISTER_KERNEL_BUILDER( \ Name("OptionalHasValue").Device(DEVICE).HostMemory("has_value"), \ data::OptionalHasValueOp); \ REGISTER_KERNEL_BUILDER(Name("OptionalGetValue").Device(DEVICE), \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 23 19:28:25 UTC 2021 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
// Moves TPUCompileMlir ops as far to the front as possible. std::unique_ptr<OperationPass<func::FuncOp>> CreateMoveTpuCompileToFrontPass(); // Decomposes OptionalFromValue, OptionalGetValue, OptionalNone, // and OptionalHasValue std::unique_ptr<OperationPass<ModuleOp>> CreateDecomposeOptionalsPass(); //===----------------------------------------------------------------------===// // XlaCallModule
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
%2 = "tf.IteratorGetNextAsOptional"(%0) {output_shapes = [#tf_type.shape<32>], output_types = [f32]} : (tensor<!tf_type.resource>) -> tensor<!tf_type.variant> %3 = "tf.OptionalHasValue"(%2) : (tensor<!tf_type.variant>) -> tensor<i1> %4 = "tf.IfRegion"(%3) ({ %5 = "tf.OptionalGetValue"(%2) : (tensor<!tf_type.variant>) -> tensor<32xf32>
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/g3doc/_includes/tf_passes.md
^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>): %2 = "tf.IteratorGetNextAsOptional"(%0) {output_shapes = [#tf_type.shape<32>], output_types = [f32]} : (tensor<!tf_type.resource>) -> tensor<!tf_type.variant> %3 = "tf.OptionalHasValue"(%2) : (tensor<!tf_type.variant>) -> tensor<i1> %4 = "tf.IfRegion"(%3) ({ %5 = "tf.OptionalGetValue"(%2) : (tensor<!tf_type.variant>) -> tensor<32xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 02 02:26:39 UTC 2023 - 96.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
TF_DerivedResultShapeListAttr output_shapes = TF_DerivedResultShapeListAttr<0>; TF_DerivedResultTypeListAttr output_types = TF_DerivedResultTypeListAttr<0>; } def TF_OptionalHasValueOp : TF_Op<"OptionalHasValue", [Pure]> { let summary = [{ Returns true if and only if the given Optional variant has a value. }]; let arguments = (ins TF_VariantTensor:$optional );
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)