-
#include "tensorstore/context.h" -
explicit tensorstore::Context::Context(const Spec& spec,
Context parent = {}); Constructs a context from a
Spec.The actual resources are created lazily as needed.
If
specis default-constructed andparentis non-null, returnsparentdirectly without creating a new child context.