Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Bitcast (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

      (TF_BiasAddOp:$dest $arg0, $arg1,
        ConstantAttr<TF_ConvnetDataFormatAttr, "\"NHWC\"">),
      [], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    // Bitcast op patterns.
    //===----------------------------------------------------------------------===//
    
    // Parameter attributes are part of function attributes, which is not affected
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema.fbs

      DYNAMIC_UPDATE_SLICE = 151,
      RELU_0_TO_1 = 152,
      UNSORTED_SEGMENT_PROD = 153,
      UNSORTED_SEGMENT_MAX = 154,
      UNSORTED_SEGMENT_SUM = 155,
      ATAN2 = 156,
      UNSORTED_SEGMENT_MIN = 157,
      SIGN = 158,
      BITCAST = 159,
      BITWISE_XOR = 160,
      RIGHT_SHIFT = 161,
      // All Operators start with STABLEHLO_ prefixes are subject to change
      // Many of the ops below can not be executed by TFlite runtime
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        if (attr.getSplatValue<Eigen::half>() != Eigen::half(0))
          output->Add(
              Eigen::numext::bit_cast<uint16_t>(attr.getSplatValue<Eigen::half>()));
      } else {
        output->Reserve(attr.getNumElements());
        for (const Eigen::half value : attr.getValues<Eigen::half>())
          output->AddAlreadyReserved(Eigen::numext::bit_cast<uint16_t>(value));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

              uint16_t bit_repr = llvm::support::endian::readNext<
                  uint16_t, llvm::endianness::native, llvm::support::unaligned>(
                  data);
              values.push_back(Eigen::numext::bit_cast<Eigen::half>(bit_repr));
            }
    
            return mlir::ElementsAttr(
                DenseElementsAttr::get(shaped_type, ArrayRef<Eigen::half>(values)));
          } else {
            std::vector<Eigen::bfloat16> values;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

    Eigen::half APFloatToEigenHalf(const APFloat& val) {
      uint16_t raw_data = val.bitcastToAPInt().getZExtValue();
      return Eigen::numext::bit_cast<Eigen::half>(raw_data);
    }
    
    APFloat EigenHalfToAPFloat(const Eigen::half& val) {
      uint16_t raw_data = Eigen::numext::bit_cast<uint16_t>(val);
      return APFloat(APFloat::IEEEhalf(), APInt(16, raw_data));
    }
    
    void PopulateEncodingParams(const std::vector<int>& block_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

    // CHECK-SAME: (tensor<*xf32>) -> tensor<*xf32>
    // CHECK: %[[round:.*]] = "tf.Round"(%[[avgpool_f32]])
    // CHECK: %[[icast:.*]] = "tf.Cast"(%[[round]]) <{Truncate = false}> : (tensor<*xf32>) -> tensor<*xi8>
    // CHECK: %[[reshape:.*]] = "tf.Reshape"(%[[icast]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    }
                }
    
                is KtBinaryExpressionWithTypeRHS -> {
                    val typeReference = parentExpression.right
                    if (KtPsiUtil.isCast(parentExpression) && typeReference != null) {
                        val bindingContext = analysisContext.analyze(typeReference)
                        var kotlinType = bindingContext[BindingContext.TYPE, typeReference]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

                        DenseIntElementsAttr& shape) {
      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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. hack/tools/go.mod

    	github.com/fsnotify/fsnotify v1.5.4 // indirect
    	github.com/fzipp/gocyclo v0.6.0 // indirect
    	github.com/ghostiam/protogetter v0.3.4 // indirect
    	github.com/go-critic/go-critic v0.11.1 // indirect
    	github.com/go-toolsmith/astcast v1.1.0 // indirect
    	github.com/go-toolsmith/astcopy v1.1.0 // indirect
    	github.com/go-toolsmith/astequal v1.2.0 // indirect
    	github.com/go-toolsmith/astfmt v1.1.0 // indirect
    	github.com/go-toolsmith/astp v1.1.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top