- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for Bitcast (0.42 sec)
-
tensorflow/compiler/jit/mark_for_compilation_pass.cc
"Less", "LessEqual", "SigmoidGrad", "SoftplusGrad", "SoftsignGrad", "TanhGrad", "Pow", "SquaredDifference", "ApproximateEqual", // Others "AddN", "Bitcast", "Cast", "ClipByValue", "Const", "Empty", "Identity", "IdentityN", "Relu", "Relu6", "ReluGrad", "Relu6Grad", "LeakyReluGrad", "Elu", "EluGrad", "Selu", "SeluGrad", "Select",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
[..., sizeof(`type`)/sizeof(`T`)] to [...]. tf.bitcast() and tf.cast() work differently when real dtype is casted as a complex dtype (e.g. tf.complex64 or tf.complex128) as tf.cast() make imaginary part 0 while tf.bitcast() gives module error. For example, Example 1: >>> a = [1., 2., 3.] >>> equality_bitcast = tf.bitcast(a, tf.complex128) Traceback (most recent call last): ...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
// CHECK: return %0 : tensor<8xf32> } // ----- // CHECK-LABEL: testBitcast func.func @testBitcast(%arg0: tensor<8xui32>) -> tensor<8xi32> { // CHECK: "tfl.bitcast"(%arg0) %0 = "tfl.bitcast"(%arg0) : (tensor<8xui32>) -> tensor<8xi32> func.return %0 : tensor<8xi32> // CHECK: return %0 : tensor<8xi32> } // ----- // CHECK-LABEL: testBitwiseXor
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.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: %[[sc2:.*]] = "quantfork.scast"(%[[icast]]) // CHECK: %[[dq:.*]] = "quantfork.dcast"(%[[sc2]]) : (tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:32:28 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
case 'Z': return st.localName() case 'U': a, isCast := st.unqualifiedName(nil) if isCast { st.setTemplate(a, nil) } return a, false case 'S': if len(st.str) < 2 { st.advance(1) st.fail("expected substitution index") } var a AST isCast := false subst := false if st.str[1] == 't' { st.advance(2) a, isCast = st.unqualifiedName(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:32:28 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc
auto dequantize_func = [&](const APInt& ap_int_value) -> APInt { const int64_t int_value = ap_int_value.getSExtValue(); const float real = (int_value - zp) * scale; auto real_int = absl::bit_cast<int32_t>(real); return APInt(/*numBits=*/32, real_int); }; auto dequant_values = mlir::cast<DenseIntOrFPElementsAttr>(input_values)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0)