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

Function GenerateConv2dOperations

dnn/scripts/cutlass_generator/generator.py:1802–1812  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

1800
1801#
1802def GenerateConv2dOperations(args):
1803 if args.type == "simt":
1804 return GenerateConv2d_Simt(args)
1805 elif args.type == "tensorop8816":
1806 return GenerateConv2d_TensorOp_8816(args)
1807 else:
1808 assert args.type == "tensorop8832", (
1809 "operation conv2d only support"
1810 "simt, tensorop8816 and tensorop8832. (got:{})".format(args.type)
1811 )
1812 return GenerateConv2d_TensorOp_8832(args)
1813
1814
1815def GenerateDeconvOperations(args):

Callers 2

write_op_listFunction · 0.90
generator.pyFile · 0.85

Calls 4

GenerateConv2d_SimtFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected