Initialize the blobs for this dataset with empty values. Empty arrays will be immediately fed into the current workspace, and `init_net` will take those blobs as external inputs.
(self, init_net)
| 226 | multiple_of=multiple_of) |
| 227 | |
| 228 | def init_empty(self, init_net): |
| 229 | """Initialize the blobs for this dataset with empty values. |
| 230 | |
| 231 | Empty arrays will be immediately fed into the current workspace, |
| 232 | and `init_net` will take those blobs as external inputs. |
| 233 | """ |
| 234 | self.field_blobs = InitEmptyRecord( |
| 235 | init_net, self.schema.clone_schema()).field_blobs() |
| 236 | |
| 237 | def init_from_dataframe(self, net, dataframe): |
| 238 | """Initialize the blobs for this dataset from a Pandas dataframe. |