Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OptionalHasValue (0.55 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top