Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ set_batch_size
Method
set_batch_size
oneflow/api/cpp/framework/graph.cpp:230–230 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
228
}
229
230
void Graph::set_batch_size(int batch_size) { graph_->set_batch_size(batch_size); }
231
232
Graph Graph::Load(const std::string& model_path, const Device& device) {
233
#ifdef __linux__
Callers
2
VirtualGenKernelConf
Method · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36