MCPcopy Create free account
hub / github.com/MethodsOfMachineLearning/cabs / distorted_inputs

Function distorted_inputs

examples/cifar10_adaptive_batchsize.py:154–208  ·  view source on GitHub ↗

Construct distorted input for CIFAR training using the Reader ops. Args: data_dir: Path to the CIFAR-10 data directory. batch_size: Number of images per batch. Returns: images: Images. 4D tensor of [batch_size, IMAGE_SIZE, IMAGE_SIZE, 3] size. labels: Labels. 1D tensor of [batch_

(data_dir=DATA_DIR, batch_size=128)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

read_cifar10Function · 0.85

Tested by

no test coverage detected