- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getIntOrFloatBitWidth (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
return DenseElementsAttr::get(result_type, dimensions); } OpFoldResult ShapeOp::fold(FoldAdaptor) { int width = getType().cast<ShapedType>().getElementType().getIntOrFloatBitWidth(); return ConvertShapeToAttr(getOperand().getType(), width); } void ShapeOp::build(OpBuilder &builder, OperationState &result, Value input, BoolAttr use32Bit) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
Type result_element_type = op.getType().getElementType(); Type element_type = input_tensor_element_type.getIntOrFloatBitWidth() >= result_element_type.getIntOrFloatBitWidth() ? input_tensor_element_type : result_element_type; auto output_shape = InferXlaConvOutputShape(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
input_element_type.isIntOrFloat() && output_element_type.isIntOrFloat()) { const auto input_element_type_bitwidth = input_element_type.getIntOrFloatBitWidth(); const auto output_element_type_bitwidth = output_element_type.getIntOrFloatBitWidth(); auto is_output_shape_valid_with_small_input_element_type_bitwidth = [&]() { if (output_element_type_bitwidth % input_element_type_bitwidth != 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// aligned to the nearest byte. So this is allowed. const char* raw_input = input_tensor.getRawData().data(); const int element_byte_size = input_tensor.getElementType().getIntOrFloatBitWidth() / 8; // Hold current ND index in input tensor when computing // permutation. llvm::OwningArrayRef<uint64_t> current_input_index( input_tensor.getType().getRank());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)