Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
namespace {
31
32
Tensor MakeScalarInt64(int64 x) {
33
Tensor t(DT_INT64, TensorShape({}));
34
t.scalar<int64>()() = x;
35
return t;
36
}
37
38
class FakeClockEnv : public EnvWrapper {
39
public:
Callers
1
TEST_F
Function · 0.85
Calls
1
TensorShape
Class · 0.50
Tested by
no test coverage detected