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

Function MakeScalarInt64

tensorflow/core/summary/summary_db_writer_test.cc:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace {
31
32Tensor MakeScalarInt64(int64 x) {
33 Tensor t(DT_INT64, TensorShape({}));
34 t.scalar<int64>()() = x;
35 return t;
36}
37
38class FakeClockEnv : public EnvWrapper {
39 public:

Callers 1

TEST_FFunction · 0.85

Calls 1

TensorShapeClass · 0.50

Tested by

no test coverage detected