Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for isS32 (0.2 sec)

  1. src/cmd/internal/obj/ppc64/obj9.go

    		switch {
    		case isS32 && p.From.Offset&0xFFFF == 0 && p.From.Offset != 0:
    			p.As = AADDIS
    			p.From.Offset >>= 16
    			p.Reg = REG_R0
    
    		case isU32 && p.From.Offset&0xFFFF == 0 && p.From.Offset != 0:
    			p.As = AORIS
    			p.From.Offset >>= 16
    			p.Reg = REG_R0
    
    		case isS32 || isU32 || isS34:
    			// The assembler can generate this opcode in 1 (on Power10) or 2 opcodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/variables_utils.cc

      // Check complex types.
      if (auto complex_type = element_type.dyn_cast<mlir::ComplexType>()) {
        auto complex_element_type = complex_type.getElementType();
        if (complex_element_type.isF32() || complex_element_type.isF64())
          return true;
      }
      // Check quantized types.
      if (auto quant_type = element_type.dyn_cast<mlir::quant::QuantizedType>()) {
        // TFLite supports QI16, QI32, QI8, and QUI8
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 19:32:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

      } else if (element_type.isF32()) {
        return DenseElementsAttr::get<float>(shaped_type,
                                             static_cast<float>(value));
      } else if (auto complex_type =
                     mlir::dyn_cast<mlir::ComplexType>(element_type)) {
        auto etype = complex_type.getElementType();
        if (etype.isF32()) {
          tensorflow::TensorProto repr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

      if (!image_type || !image_type.getElementType().isF32() ||
          image_type.getRank() != 4) {
        return func_.emitWarning() << "Image should be a 4D float tensor";
      }
    
      auto flow_type = mlir::dyn_cast_or_null<RankedTensorType>(
          func_.getFunctionType().getInput(1));
      if (!flow_type || !flow_type.getElementType().isF32() ||
          flow_type.getRank() != 4) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

       (TF_ConstOp:$one (GetScalarOfType<1> $num_lower)),
       (TF_ConstOp:$neg_one (GetScalarOfType<-1> $num_lower)),
       (GetDimensionSize<-2>:$m $input, (IsI32 $num_lower)),
       (GetDimensionSize<-1>:$n $input, (IsI32 $num_upper)),
       (TF_SelectV2Op:$num_lower_or_m (TF_LessOp $num_lower, $zero),
                                      $m, $num_lower),
       (TF_SelectV2Op:$num_upper_or_n (TF_LessOp $num_upper, $zero),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc

          CreateI8F32UniformQuantizedType(UnknownLoc::get(&ctx_), ctx_,
                                          /*scale=*/1.0, /*zero_point=*/0);
    
      EXPECT_TRUE(quantized_type.getExpressedType().isF32());
    }
    
    TEST_F(CreateI8F32UniformQuantizedTypeTest, SignedQuantizedTypeSucceeds) {
      const UniformQuantizedType quantized_type =
          CreateI8F32UniformQuantizedType(UnknownLoc::get(&ctx_), ctx_,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

        if (HasVariantInputOrOutput(op)) {
          std::optional<mlir::Type> element_type =
              GetSingularVariantBaseType(op->getOperand(0));
          if (element_type.has_value()) {
            return element_type->isF32() || element_type->isInteger(32);
          }
        }
      }
    
      // Op is vacuously "supported" if it is not a tensorlist op.
      StringRef op_name = op->getName().getStringRef();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

      }
    }
    
    Status ConvertScalarTypeToDataType(Type type, DataType* dtype) {
      if (type.isF16()) {
        *dtype = DT_HALF;
        return absl::OkStatus();
      } else if (type.isF32()) {
        *dtype = DT_FLOAT;
        return absl::OkStatus();
      } else if (type.isF64()) {
        *dtype = DT_DOUBLE;
        return absl::OkStatus();
      } else if (type.isBF16()) {
        *dtype = DT_BFLOAT16;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/convert_type.cc

        return tflite::TensorType_BFLOAT16;
      } else if (type.isF32()) {
        return tflite::TensorType_FLOAT32;
      } else if (type.isF64()) {
        return tflite::TensorType_FLOAT64;
      } else if (mlir::isa<mlir::TF::StringType>(type)) {
        return tflite::TensorType_STRING;
      } else if (auto complex_type = mlir::dyn_cast<mlir::ComplexType>(type)) {
        if (complex_type.getElementType().isF32()) {
          return tflite::TensorType_COMPLEX64;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

    def QuantizeByQuantizedType : NativeCodeCall<"quant::Quantize($0, $1.getValue())">;
    def F32ElementsAttr : ElementsAttrBase<
      CPred<"$_self.cast<ElementsAttr>().getShapedType().getElementType().isF32()">, "float constant tensor">;
    
    // Squash tfl.dequantize and tfl.quantize pairs.
    // TODO(fengliuai): Compare the scale of input and output. This can also be
    // squashed to a requantize op if the scales are different.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top