MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / apply_on_physical_tensor

Method apply_on_physical_tensor

imperative/src/impl/op_def.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30SmallVector<TensorPtr> OpDef::apply_on_physical_tensor(
31 const OpDef& def, const SmallVector<TensorPtr>& inputs,
32 SmallVector<LogicalTensorDesc>& output_descs, const bool& validated) {
33 return def.trait()->apply_on_physical_tensor(
34 def, std::move(inputs), output_descs, validated);
35}
36void OpDef::apply_on_device_tensornd(
37 const OpDef& def, const SmallVector<DeviceTensorND>& inputs,
38 SmallVector<DeviceTensorND>* outputs) {

Callers

nothing calls this directly

Calls 1

traitMethod · 0.45

Tested by

no test coverage detected