Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for F32Attr (0.39 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

    // is then to compute
    //   (x * multiplier) + (offset - mean * multiplier).
    //
    // def : Pattern<
    //     (TF_FusedBatchNormV3Op:$root
    //         $x, $scale, $offset, $mean, $variance,
    //         F32Attr:$epsilon, $exponential_avg_factor,
    //         $data_format, FalseBoolAttr:$is_training),
    //     [(TF_AddOp
    //         (TF_MulOp
    //             $x,
    //             (TF_MulOp:$multiplier
    //                 $scale,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    }
    
    static tflite::TensorType ConvertDerivedTypeAttrForOptionWriter(
        mlir::Type type, flatbuffers::FlatBufferBuilder* builder) {
      return tflite::ConvertTypeToTensorType(type);
    }
    
    // I32Attr already returns an int as required by flatbuffer builders.
    static int ConvertI32AttrForOptionWriter(
        int i, flatbuffers::FlatBufferBuilder* builder) {
      return i;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

      using OpRewritePattern<TFRQuantScaleFactorOp>::OpRewritePattern;
    
     public:
      // Replace quant_scale_factor with constant tensor equivalent to
      // TFR_ConstantTensorOp (
      //   ConstantOp (ConstAttr<F32Attr (in_scale[0] * in_scale[1] /
      //   out_scale))
      // )
      // Currently, all decompositions using this pattern (Conv2D, FC) have the
      // following preconditions:
      // * out_scale: float scalar attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let summary = "The Fallback CreateOp";
    
      let description = [{
        The CreateOp creates the tensorflow::OpKernel in the fallback context.
      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def ConstOp: TensorflowMlrt_Op<"constop", []> {
      let summary = "The tf_mlrt ConstOp";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

      }];
    
      let arguments = (ins
        TF_Tensor:$max_iterations,
        Variadic<TF_Tensor>:$tensor_list_or_flow_in,
        Variadic<TF_Tensor>:$invariant_args,
        FlatSymbolRefAttr:$body_fn,
        I32Attr:$num_tensor_list_or_flow_in
      );
    
      let results = (outs
         Variadic<TF_Tensor>:$result
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.td

          tfrt_fallback_sync.createop() key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let results = (outs);
    
      let assemblyFormat = "attr-dict";
    }
    
    def SyncExecuteOp : FallbackSync_Op<"executeop", [Pure]> {
      let summary = "The Fallback Sync ExecuteOp";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 07 21:12:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

        $promises: There are $num promises, and promises[i] shares the state with futures[i].
        $futures: There are $num futures, and futures[i] shares the state with promises[i].
      }];
    
      let arguments = (ins
        I32Attr:$num
      );
    
      let results = (outs
        Variadic<MlrtPromiseType>:$promises,
        Variadic<MlrtFutureType>:$futures
      );
    }
    
    def WhileOp : Mlrt_Op<"while", []> {
      let summary = "while operation";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    // %output#6, %output#7 corresponds to %n and will have no device set
    ```
      }];
    
      let arguments = (ins
        Variadic<AnyType>:$replicated_inputs,
        Variadic<AnyType>:$packed_inputs,
    
        ConfinedAttr<I32Attr, [IntMinValue<2>]>:$n,
        OptionalAttr<DictionaryAttr>:$devices
      );
    
      let results = (outs
        Variadic<AnyType>:$replicated_outputs
      );
    
      let regions = (region SizedRegion<1>:$body);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

                    (Arith_ConstantOp ConstantAttr<RankedSignlessIntElementsAttr<1, []>, "true">),
                    (Arith_ConstantOp ConstantAttr<RankedSignlessIntElementsAttr<1, []>, "false">),
                    ConstantAttr<I32Attr, "-1">),
      [(IsLastDimensionEqualOneOrDynamicBatchDimRank2 $x),
       (HasRankAtLeast<2> $x),
       (IsOneHotIndexAttribute $series)]>;
    
    def F32ElementsVal : Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top