MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / TEST

Function TEST

tensorflow/core/util/tensor_slice_set_test.cc:41–138  ·  view source on GitHub ↗

A simple test: we have a 2-d tensor of shape 4 X 5 that looks like this: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 We assume this is a row-major matrix. We store the tensor in a couple of slices and verify that we can recover all of them.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

QueryMethod · 0.80
QueryMetaMethod · 0.80
RegisterMethod · 0.45
sizeMethod · 0.45
DebugStringMethod · 0.45

Tested by

no test coverage detected