| 135 | NumericArray() : values_(NULLPTR) {} |
| 136 | |
| 137 | void SetData(const std::shared_ptr<ArrayData>& data) { |
| 138 | this->PrimitiveArray::SetData(data); |
| 139 | values_ = raw_values_ |
| 140 | ? (reinterpret_cast<const value_type*>(raw_values_) + data_->offset) |
| 141 | : NULLPTR; |
| 142 | } |
| 143 | |
| 144 | /// \brief Return a one dimensional Tensor. |
| 145 | Result<std::shared_ptr<Tensor>> ToTensorWithNulls() const override { |
nothing calls this directly
no outgoing calls
no test coverage detected