- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for OptionalFromValue (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir
// RUN: tf-opt %s --tf-decompose-optionals --split-input-file | FileCheck %s // CHECK-LABEL: @from_value func.func @from_value(%arg0: tensor<f32>) { // CHECK-NOT: Optional %0 = "tf.OptionalFromValue"(%arg0) : (tensor<f32>) -> tensor<!tf_type.variant<tensor<f32>>> return } // ----- // CHECK-LABEL: @get_value func.func @get_value(%arg0: tensor<!tf_type.variant<tensor<f32>>>) { // CHECK-NOT: Optional
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
raw_ostream* os = nullptr); // 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(); //===----------------------------------------------------------------------===//
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
let summary = "Decomposes ops of the 'Optional' family"; let description = [{ Turns OptionalFromValue, OptionalGetValue, OptionalNone, and OptionalHasValue into identities. For example, if we have: %1 = "tf.OptionalFromValue"(%0) : (tensor<f32>) -> !tf_type.variant %2 = "tf.OptionalGetValue"(%1) : (tensor<!tf_type.variant>) -> tensor<f32>
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/ir/tf_generated_ops.td
DefaultValuedOptionalAttr<StrArrayAttr, "{}">:$optimization_configs ); let results = (outs TF_VariantTensor:$handle ); } def TF_OptionalFromValueOp : TF_Op<"OptionalFromValue", [Pure]> { let summary = "Constructs an Optional variant from a tuple of tensors."; let arguments = (ins Variadic<TF_Tensor>:$components ); let results = (outs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)