Home | History | Annotate | Download | only in training

Lines Matching refs:shapes

181                                 shapes=[element_shape],
344 # everything in TensorList matches. Maybe just check the inferred shapes?
648 # We want the shapes without the leading batch dimension.
656 def _shapes(tensor_list_list, shapes, enqueue_many):
657 """Calculate and merge the shapes of incoming tensors.
661 shapes: List of shape tuples corresponding to tensors within the lists.
662 enqueue_many: Boolean describing whether shapes will be enqueued as
666 A list of shapes aggregating shape inference info from `tensor_list_list`,
667 or returning `shapes` if it is not `None`.
670 ValueError: If any of the inferred shapes in `tensor_list_list` lack a
673 if shapes is None:
681 shapes = [_merge_shapes(
684 return shapes
736 enqueue_many=False, shapes=None, dynamic_pad=False,
752 shapes = _shapes([tensor_list], shapes, enqueue_many)
755 capacity=capacity, dtypes=types, shapes=shapes, shared_name=shared_name)
775 enqueue_many=False, shapes=None, dynamic_pad=False,
791 shapes = _shapes(tensor_list_list, shapes, enqueue_many)
794 capacity=capacity, dtypes=types, shapes=shapes, shared_name=shared_name)
810 shapes=None, allow_smaller_final_batch=False,
829 shapes = _shapes([tensor_list], shapes, enqueue_many)
832 dtypes=types, shapes=shapes, shared_name=shared_name)
854 enqueue_many=False, shapes=None,
871 shapes = _shapes(tensor_list_list, shapes, enqueue_many)
874 dtypes=types, shapes=shapes, shared_name=shared_name)
899 enqueue_many=False, shapes=None, dynamic_pad=False,
928 (i) the `shapes` argument is passed, or (ii) all of the tensors in
929 `tensors` must have fully-defined shapes. `ValueError` will be
943 In addition, all output tensors' static shapes, as accessed via the
954 shapes: (Optional) The shapes for each example. Defaults to the
955 inferred shapes for `tensors`.
956 dynamic_pad: Boolean. Allow variable dimensions in input shapes.
958 batch have the same shapes.
970 ValueError: If the `shapes` are not specified, and cannot be
985 shapes=shapes,
994 enqueue_many=False, shapes=None, dynamic_pad=False,
1013 shapes: (Optional) The shapes for each example. Defaults to the
1014 inferred shapes for `tensors`.
1015 dynamic_pad: Boolean. Allow variable dimensions in input shapes.
1017 batch have the same shapes.
1028 ValueError: If the `shapes` are not specified, and cannot be
1038 shapes=shapes,
1047 shapes=None, dynamic_pad=False, allow_smaller_final_batch=False,
1089 (i) the `shapes` argument is passed, or (ii) all of the tensors in
1090 `tensors_list` must have fully-defined shapes. `ValueError` will be
1104 In addition, all output tensors' static shapes, as accessed via the
1114 shapes: (Optional) The shapes for each example. Defaults to the
1115 inferred shapes for `tensor_list_list[i]`.
1116 dynamic_pad: Boolean. Allow variable dimensions in input shapes.
1118 batch have the same shapes.
1130 ValueError: If the `shapes` are not specified, and cannot be
1144 shapes=shapes,
1153 enqueue_many=False, shapes=None, dynamic_pad=False,
1172 shapes: (Optional) The shapes for each example. Defaults to the
1173 inferred shapes for `tensor_list_list[i]`.
1174 dynamic_pad: Boolean. Allow variable dimensions in input shapes.
1176 batch have the same shapes.
1188 ValueError: If the `shapes` are not specified, and cannot be
1197 shapes=shapes,
1206 num_threads=1, seed=None, enqueue_many=False, shapes=None,
1248 *N.B.:* You must ensure that either (i) the `shapes` argument is
1250 fully-defined shapes. `ValueError` will be raised if neither of
1256 In addition, all output tensors' static shapes, as accessed via the
1269 shapes: (Optional) The shapes for each example. Defaults to the
1270 inferred shapes for `tensor_list`.
1281 ValueError: If the `shapes` are not specified, and cannot be
1298 shapes=shapes,
1307 enqueue_many=False, shapes=None,
1329 shapes: (Optional) The shapes for each example. Defaults to the
1330 inferred shapes for `tensor_list`.
1341 ValueError: If the `shapes` are not specified, and cannot be
1358 shapes=shapes,
1367 shapes=None, allow_smaller_final_batch=False,
1410 In addition, all output tensors' static shapes, as accessed via the
1423 shapes: (Optional) The shapes for each example. Defaults to the
1424 inferred shapes for `tensors_list[i]`.
1436 ValueError: If the `shapes` are not specified, and cannot be
1452 shapes=shapes,
1461 enqueue_many=False, shapes=None,
1483 shapes: (Optional) The shapes for each example. Defaults to the
1484 inferred shapes for `tensors_list[i]`.
1496 ValueError: If the `shapes` are not specified, and cannot be
1512 shapes=shapes,