pub fn into_data(mut self) -> (Vec<Tensor<i32>>, Vec<LayerTensors<i32>>, Vec<Tensor<f32>>) {
        self.resize_last_batch();

        (self.labels, self.lookup_inputs, self.non_lookup_inputs)
    }
/// Get the collected tensors.
///
/// This method returns the collected label and vectorized parser state
/// tensors. Each tensor is `batch_size` in its first dimension, except
/// the last label/layer tensors, which is sized to the number of instances
/// of the last batch.
Get the collected tensors.
This method returns the collected label and vectorized parser state
tensors. Each tensor is `batch_size` in its first dimension, except
the last label/layer tensors, which is sized to the number of instances
of the last batch.
Get the collected tensors . This method returns the collected label and vectorized parser state tensors . Each tensor is ` batch_size ` in its first dimension except the last label / layer tensors which is sized to the number of instances of the last batch .
pub fn into_data(mut self) -> (Vec<Tensor<i32>>, Vec<LayerTensors<i32>>, Vec<Tensor<f32>>) {
        self.resize_last_batch();
        (self.labels, self.lookup_inputs, self.non_lookup_inputs)
    }
pub fn into_data ( mut self ) -> ( Vec < Tensor < i32 > > , Vec < LayerTensors < i32 > > , Vec < Tensor < f32 > > ) { self . resize_last_batch ( ) ; ( self . labels , self . lookup_inputs , self . non_lookup_inputs ) }
Get the collected tensors.
Get the collected tensors .
mut self
mut self