MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _validate

Function _validate

tensorflow/python/training/input.py:630–634  ·  view source on GitHub ↗
(tensor_list)

Source from the content-addressed store, hash-verified

628
629
630def _validate(tensor_list):
631 tensor_list = ops.convert_n_to_tensor_or_indexed_slices(tensor_list)
632 if not tensor_list:
633 raise ValueError("Expected at least one tensor in batch().")
634 return tensor_list
635
636
637def _validate_join(tensor_list_list):

Callers 2

_batchFunction · 0.85
_shuffle_batchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected