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

Function ByteSwap

tensorflow/core/util/tensor_bundle/tensor_bundle_test.cc:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64Tensor ByteSwap(Tensor t) {
65 Tensor ret = tensor::DeepCopy(t);
66 TF_EXPECT_OK(ByteSwapTensor(&ret));
67 return ret;
68}
69
70// Assert that <reader> has a tensor under <key> matching <expected_val> in
71// terms of both shape, dtype, and value

Callers 2

TESTFunction · 0.85
TestEndiannessFunction · 0.85

Calls 2

ByteSwapTensorFunction · 0.85
DeepCopyFunction · 0.50

Tested by

no test coverage detected