MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / string>

Method string>

oneflow/api/python/functional/python_arg.cpp:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91template<>
92std::string PythonArg::ObjectAs<std::string>() const {
93 return PyStringAsString(object_);
94}
95INSTANCE_OBJECT_AS_SHARED_PTR(std::string)
96
97template<>

Callers

nothing calls this directly

Calls 1

PyStringAsStringFunction · 0.85

Tested by

no test coverage detected