Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for 3xbf16 (0.09 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc

      auto type = mlir::dyn_cast<ShapedType>(val.getType());
      if (!type) return false;
      // Supported original tensor data types.
      if (type.getElementType().isF32() || type.getElementType().isBF16())
        return true;
      return false;
    }
    
    std::optional<tensorflow::quantization::QuantizationComponentSpec>
    GetWeightComponentSpec(
        const tensorflow::quantization::QuantizationOptions& quantization_options) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

        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;
        return absl::OkStatus();
      } else if (type.isFloat8E4M3FN()) {
        *dtype = DT_FLOAT8_E4M3FN;
        return absl::OkStatus();
      } else if (type.isFloat8E5M2()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/convert_type.cc

    using absl::StatusOr;
    
    namespace errors = tensorflow::errors;
    
    tflite::TensorType ConvertTypeToTensorType(mlir::Type type) {
      if (type.isF16()) {
        return tflite::TensorType_FLOAT16;
      } else if (type.isBF16()) {
        return tflite::TensorType_BFLOAT16;
      } else if (type.isF32()) {
        return tflite::TensorType_FLOAT32;
      } else if (type.isF64()) {
        return tflite::TensorType_FLOAT64;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    }
    
    func.func private @add_scatter(%arg0: tensor<bf16>, %arg1: tensor<bf16>) -> tensor<bf16> {
      %0 = "tf.AddV2"(%arg0, %arg1) {device = ""} : (tensor<bf16>, tensor<bf16>) -> tensor<bf16>
      func.return %0 : tensor<bf16>
    }
    
    func.func private @ge_select(%arg0: tensor<bf16>, %arg1: tensor<bf16>) -> tensor<i1> {
      %0 = "tf.GreaterEqual"(%arg0, %arg1) {device = ""} : (tensor<bf16>, tensor<bf16>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      Type type = val_bcast.getType();
      Type elem_type = getElementTypeOrSelf(type);
      // Xla's all_reduce legalizer bitcasts to 32 bits, so only
      // element types size <= 4 bytes are supported.
      if (elem_type.isBF16() || elem_type.isF16() || elem_type.isTF32() ||
          elem_type.isF32()) {
        zero = builder.getFloatAttr(elem_type, 0);
      } else {
        return false;
      }
      if (auto ranked_type = dyn_cast<RankedTensorType>(type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

        // FusedMatMul kernel supports limited set of data types.
        Type element_ty = getElementTypeOrSelf(matmul.getType());
        if (!element_ty.isF32() && !element_ty.isBF16()) {
          (void)rewriter.notifyMatchFailure(matmul, [&](Diagnostic &diag) {
            diag << "supported data types for _FusedMatMul are float and bfloat16, "
                 << " but got " << element_ty;
          });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:           %[[VAL_2:.*]] = "tf.Div"(%[[VAL_0]], %[[VAL_1]]) : (tensor<2x3xf16>, tensor<3xf16>) -> tensor<2x3xf16>
    // CHECK:           %[[VAL_3:.*]] = "tf.Div"(%[[VAL_0]], %[[VAL_1]]) : (tensor<2x3xf16>, tensor<3xf16>) -> tensor<2x3xf16>
    // CHECK:           %[[VAL_4:.*]] = "tf.FloorDiv"(%[[VAL_0]], %[[VAL_1]]) : (tensor<2x3xf16>, tensor<3xf16>) -> tensor<2x3xf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          Type element_type = tensor_type.getElementType();
          if (element_type.isF32()) continue;
          // Element type can either be f32 or bf16 for `SparseMatMulOp` so it
          // must be bf16 here.
          assert(element_type.isBF16());
          Type tensor_type_f32;
          if (tensor_type.hasRank()) {
            tensor_type_f32 = tensorflow::GetTypeFromTFTensorShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        return shaped_type.getElementType().isF32();
      }
      return false;
    }
    
    // Returns true if it is a shaped type of bf16 elements.
    inline bool IsBF16ShapedType(Type t) {
      if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) {
        return shaped_type.getElementType().isBF16();
      }
      return false;
    }
    
    // Returns true if it is a shaped type of FloatType elements.
    inline bool IsFloatShapedType(Type t) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/s390x/asmz.go

    	op_LLGF    uint32 = 0xE316 // FORMAT_RXY1       LOAD LOGICAL (64<-32)
    	op_LLGFAT  uint32 = 0xE39D // FORMAT_RXY1       LOAD LOGICAL AND TRAP (64<-32)
    	op_LLGFR   uint32 = 0xB916 // FORMAT_RRE        LOAD LOGICAL (64<-32)
    	op_LLGFRL  uint32 = 0xC40E // FORMAT_RIL2       LOAD LOGICAL RELATIVE LONG (64<-32)
    	op_LLGH    uint32 = 0xE391 // FORMAT_RXY1       LOAD LOGICAL HALFWORD (64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
Back to top