Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for TensorOf (1.5 sec)

  1. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

        $quant_input,
        $bias, $padding, $stride_h, $stride_w, $faf),
      (TFL_TransposeConvOp $output_shape, $quant_weights,
        $quant_input, $bias, $padding, $stride_h, $stride_w, $faf), 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    include "mhlo/IR/hlo_ops.td"
    
    def SignedIntTensor : TensorOf<[I1, I8, I16, I32, I64]>;
    def UnsignedIntTensor : TensorOf<[UI8, UI16, UI32, UI64]>;
    
    // IEEE compliant floating point tensors.
    def IEEEFloatTensor : TensorOf<[F16, F32, F64]>;
    
    //===----------------------------------------------------------------------===//
    // BatchNorm op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    // TFL Relu doesn't support I32/I64 type, so legalizes TF Relu to TFL Maximum.
    def LegalizeReluI32 :
      Pat<(TF_ReluOp TensorOf<[I32]>:$arg),
          (TFL_MaximumOp $arg,
            (Arith_ConstantOp ConstantAttr<RankedI32ElementsAttr<[]>,"0">))>;
    def LegalizeReluI64 :
      Pat<(TF_ReluOp TensorOf<[I64]>:$arg),
          (TFL_MaximumOp $arg,
            (Arith_ConstantOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    // Square op patterns.
    //===----------------------------------------------------------------------===//
    
    // Restrict the pattern to the types supported by SquaredDifferenceOp.
    def TF_NumberTensorNoSmallInt: TensorOf<[TF_Bfloat16, TF_Complex128, TF_Complex64,
        TF_Float16, TF_Float32, TF_Int32, TF_Int64]>;
    
    def SquareOfSub : Pat<
      (TF_SquareOp:$src (TF_SubOp TF_NumberTensorNoSmallInt:$arg0,
        TF_NumberTensorNoSmallInt:$arg1)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      "allowed tfr.call result types">;
    
    // standard tensor type and tfr.tensor types can be casted to each other.
    def TFR_singleTensorType : Type<Or<[
        TFR_TensorType.predicate,
        TF_Tensor.predicate,
        TensorOf<[quant_QuantizedType]>.predicate]>, "single tensor or tfr.tensor type">;
    
    // all allowed build list input types
    def TFR_allowedBuiltListType : Type<Or<[
        TFR_TensorType.predicate,
        TF_ElementType.predicate,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    class TFL_TensorOf<list<Type> allowedRuntimeTypes,
                       list<Type> allowedOpTypes = [AnyType]> :
      TensorOf<allowedOpTypes>, TFL_RuntimeType<TensorOf<allowedRuntimeTypes>> {
      // Set the summary equal to that representing the runtime types.
      let summary = TensorOf<allowedRuntimeTypes>.summary;
    }
    
    class TFL_TensorOfOrNone<list<Type> allowedRuntimeTypes, string description = "",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top