Searched refs:partitioned_dim_sizes (Results 1 – 3 of 3) sorted by relevance
85 def __init__(self, partitioned_dim_sizes, inner_dim_sizes): argument100 assert isinstance(partitioned_dim_sizes, (list, tuple))102 (partitioned_dim_sizes, inner_dim_sizes)):103 partitioned_dim_sizes = tuple(106 for size in partitioned_dim_sizes)111 if partitioned_dim_sizes:112 for axis, dimension_size in enumerate(partitioned_dim_sizes):117 if partitioned_dim_sizes[0].shape.ndims == 1:119 if partitioned_dim_sizes[-1].shape.ndims == 0:123 self._partitioned_dim_sizes = partitioned_dim_sizes[all …]
158 pad_dims = params_shape.partitioned_dim_sizes[:-1] + (159 array_ops.ones_like(params_shape.partitioned_dim_sizes[-1]),)164 params_shape.partitioned_dim_sizes,177 batch_dimensions = params_shape.partitioned_dim_sizes[179 gather_dimension = params_shape.partitioned_dim_sizes[
43 for splits in x.partitioned_dim_sizes47 for splits in y.partitioned_dim_sizes