Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for bias_shape (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

        auto bcast_op_result_type =
            mlir::cast<RankedTensorType>(bcast_op_result.getType());
        const ArrayRef<int64_t> bcast_shape = bcast_op_result_type.getShape();
        const TensorType new_bcast_op_result_type = bcast_op_result_type.cloneWith(
            bcast_shape, accumulation_quantized_element_type);
        bcast_op_result.setType(new_bcast_op_result_type);
      }
    
      const auto add_op_result_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    }
    
    std::optional<RankedTensorType> InferWindowOutputShape(
        const ShapedType& base_shape, const xla::Window& window,
        Type element_type) {
      if (window.dimensions_size() != base_shape.getRank()) {
        llvm::errs() << "Window has dimension " << window.dimensions_size()
                     << " but base shape has dimension " << base_shape.getRank()
                     << "\n";
        return std::nullopt;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      for (size_t i = 0; i < out_channel_size; i++) {
        const float bias_scale = disable_per_channel_quantization_for_dense_
                                     ? bias_scales[0]
                                     : bias_scales[i];
        auto dequantized_value = bias_values[i] * bias_scale;
        EXPECT_THAT(dequantized_value,
                    FloatNear(bias_float_buffer[i], bias_scale / 2));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top