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

Method parallel_desc

oneflow/core/framework/tensor.h:361–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 virtual Symbol<DType> dtype() const override { return tensor_->dtype(); }
360 virtual Maybe<Symbol<NdSbp>> nd_sbp() const override { return tensor_->nd_sbp(); }
361 virtual Maybe<Symbol<ParallelDesc>> parallel_desc() const override {
362 return tensor_->parallel_desc();
363 }
364 virtual Maybe<Symbol<Device>> device() const override { return tensor_->device(); }
365 virtual Maybe<Symbol<Device>*> mut_device() override { return tensor_->mut_device(); }
366 virtual bool is_cpu() const override { return tensor_->is_cpu(); }

Callers 15

MakeNdSbpInferHintsMethod · 0.45
InferDeviceAndStreamMethod · 0.45
InferMethod · 0.45
GetTensorValidInCurRankFunction · 0.45
GetTensorMetaStringFunction · 0.45
parallel_descMethod · 0.45
InitMethod · 0.45
CheckMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36