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

Method stream

oneflow/core/kernel/user_kernel.cpp:485–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483 const ArgVec& outputs() const override { return base_ctx_.outputs(); }
484
485 ep::Stream* stream() override { return stream_; }
486 user_op::Tensor* Tensor4ArgNameAndIndex(const std::string& arg_name, int32_t arg_index) override {
487 auto it = arg2tensor_.find(std::make_pair(arg_name, arg_index));
488 CHECK(it != arg2tensor_.end()) << "Arg (" << arg_name << "," << arg_index << ") is not found";

Callers 15

ForwardDataContentMethod · 0.45
ForwardDataContentMethod · 0.45
VirtualKernelInitMethod · 0.45
FOR_RANGEFunction · 0.45
ForwardDataContentMethod · 0.45
ForwardDataContentMethod · 0.45
ForwardDataContentMethod · 0.45
ForwardDataContentMethod · 0.45
DidForwardDataContentMethod · 0.45
ForwardDataContentMethod · 0.45
CreateOpKernelStateMethod · 0.45
ForwardUserKernelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected