Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ device.cpp
File
device.cpp
oneflow/api/python/framework/device.cpp:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/*
2
Copyright 2020 The OneFlow Authors. All rights reserved.
3
4
Licensed under the Apache License, Version 2.0 (the
"License"
);
Callers
nothing calls this directly
Calls
10
init
Function · 0.85
arg
Class · 0.85
hash
Function · 0.85
rematable
Method · 0.80
ToRepr
Method · 0.80
New
Function · 0.50
GetOrThrow
Method · 0.45
type
Method · 0.45
device_id
Method · 0.45
ToString
Method · 0.45
Tested by
no test coverage detected