| 308 | // -- BatchDescriptor |
| 309 | |
| 310 | BatchDescriptor::BatchDescriptor(int ndims) |
| 311 | : value_max_(0.0), |
| 312 | value_min_(0.0), |
| 313 | quantized_activation_mode_(QuantizedActivationMode::k8Bit) { |
| 314 | tensor_.mutable_dimensions()->Resize(ndims + 2, 0); |
| 315 | set_layout(DataLayout::kYXDepthBatch); |
| 316 | } |
| 317 | |
| 318 | BatchDescriptor::BatchDescriptor() : BatchDescriptor(/*ndims=*/2) {} |
| 319 |
nothing calls this directly
no test coverage detected