Searched refs:batch_dimension (Results 1 – 4 of 4) sorted by relevance
27 TensorFormat(int batch_dimension, int feature_dimension, in TensorFormat() argument29 : batch_dimension_(batch_dimension), in TensorFormat()34 int batch_dimension() const { return batch_dimension_; } in batch_dimension() function
293 batch_dimension = batch.get_shape().dims[0].value296 if batch_dimension is None:297 batch_dimension = tensor_batch_shape[0]305 result_shape = [batch_dimension, first_dimension, matrix_first_dimension]309 result_shape = [batch_dimension, first_dimension, matrix_second_dimension]
633 batch_dimension = distributed_training_utils.get_batch_dimension(iterator)638 shape.dims = [batch_dimension] + shape.dims[1:]
138 int batch_dimension = GetTensorBatchDimIndex(num_dims, data_format); in XlaTensorFormat() local145 return xla::TensorFormat(/*batch_dimension=*/batch_dimension, in XlaTensorFormat()