code stringlengths 3 6.57k |
|---|
kernel_layout.find("O") |
format(kernel_layout) |
re.match(r"OIHW\d*i\d*o", kernel_layout) |
re.match(r"OIHW\d*o", kernel_layout) |
ValueError("Unknown conv2d kernel layout {}".format(kernel_layout) |
is_depthwise_conv2d(data_shape, data_layout, kernel_shape, kernel_layout, groups) |
get_conv2d_in_channels(data_shape, data_layout) |
get_conv2d_out_channels(kernel_shape, kernel_layout) |
schedule_injective(attrs, outs, target) |
topi.generic.schedule_injective(outs) |
schedule_reduce(attrs, outs, target) |
topi.generic.schedule_reduce(outs) |
schedule_concatenate(attrs, outs, target) |
topi.generic.schedule_injective(outs) |
schedule_pool(attrs, outs, target) |
topi.generic.schedule_pool(outs, attrs.layout) |
schedule_pool_grad(attrs, outs, target) |
topi.generic.schedule_pool_grad(outs) |
schedule_adaptive_pool(attrs, outs, target) |
topi.generic.schedule_adaptive_pool(outs) |
wrap_compute_softmax(topi_compute) |
_compute_softmax(attrs, inputs, out_type) |
attrs.get_int("axis") |
topi_compute(inputs[0], axis) |
override_native_generic_func("softmax_strategy") |
softmax_strategy(attrs, inputs, out_type, target) |
_op.OpStrategy() |
wrap_compute_softmax(topi.nn.softmax) |
wrap_topi_schedule(topi.generic.schedule_softmax) |
schedule_log_softmax(attrs, outs, target) |
topi.generic.schedule_softmax(outs) |
schedule_lrn(attrs, outs, target) |
topi.generic.schedule_lrn(outs) |
schedule_bitpack(attrs, outs, target) |
topi.generic.schedule_bitpack(outs) |
_compute_conv2d(attrs, inputs, out_type) |
get_const_tuple(attrs.padding) |
get_const_tuple(attrs.strides) |
get_const_tuple(attrs.dilation) |
attrs.get_str("data_layout") |
attrs.get_str("out_layout") |
get_auto_scheduler_rewritten_layout(attrs) |
in ("same", "") |
args.append(attrs.groups) |
args.append(data_layout) |
args.append(out_layout) |
args.append(out_dtype) |
args.append(auto_scheduler_rewritten_layout) |
topi_compute(*args) |
override_native_generic_func("conv2d_strategy") |
conv2d_strategy(attrs, inputs, out_type, target) |
logger.warning("conv2d is not optimized for this platform.") |
_op.OpStrategy() |
get_const_tuple(attrs.dilation) |
attrs.kernel_layout
(dilation_h, dilation_w) |
ValueError("dilation should be positive value") |
wrap_compute_conv2d(topi.nn.conv2d_nchw) |
wrap_topi_schedule(topi.generic.schedule_conv2d_nchw) |
wrap_compute_conv2d(topi.nn.conv2d_nhwc) |
wrap_topi_schedule(topi.generic.schedule_conv2d_nhwc) |
wrap_compute_conv2d(topi.nn.conv2d_hwcn) |
wrap_topi_schedule(topi.generic.schedule_conv2d_hwcn) |
RuntimeError("Unsupported conv2d layout {}".format(layout) |
is_depthwise_conv2d(data.shape, layout, kernel.shape, kernel_layout, groups) |
wrap_compute_conv2d(topi.nn.depthwise_conv2d_nchw) |
wrap_topi_schedule(topi.generic.schedule_depthwise_conv2d_nchw) |
wrap_compute_conv2d(topi.nn.depthwise_conv2d_nhwc) |
wrap_topi_schedule(topi.generic.schedule_depthwise_conv2d_nhwc) |
RuntimeError("Unsupported depthwise_conv2d layout {}".format(layout) |
wrap_compute_conv2d(topi.nn.group_conv2d_nchw, has_groups=True) |
wrap_topi_schedule(topi.generic.schedule_group_conv2d_nchw) |
wrap_compute_conv2d(topi.nn.group_conv2d_nhwc, has_groups=True) |
wrap_topi_schedule(topi.generic.schedule_group_conv2d_nhwc) |
RuntimeError("Unsupported group_conv2d layout {}".format(layout) |
override_native_generic_func("conv2d_NCHWc_strategy") |
conv2d_NCHWc_strategy(attrs, inputs, out_type, target) |
logger.warning("conv2d_NCHWc is not optimized for this platform.") |
_op.OpStrategy() |
wrap_compute_conv2d(topi.nn.conv2d_NCHWc_int8, True, True) |
wrap_topi_schedule(topi.generic.schedule_conv2d_NCHWc_int8) |
wrap_compute_conv2d(topi.nn.conv2d_NCHWc, True, True) |
wrap_topi_schedule(topi.generic.schedule_conv2d_NCHWc) |
override_native_generic_func("depthwise_conv2d_NCHWc_strategy") |
depthwise_conv2d_NCHWc_strategy(attrs, inputs, out_type, target) |
logger.warning("depthwise_conv2d_NCHWc is not optimized for this platform.") |
_op.OpStrategy() |
wrap_compute_conv2d(topi.nn.depthwise_conv2d_NCHWc, True, True) |
wrap_topi_schedule(topi.generic.schedule_depthwise_conv2d_NCHWc) |
override_native_generic_func("conv2d_winograd_without_weight_transform_strategy") |
conv2d_winograd_without_weight_transfrom_strategy(attrs, inputs, out_type, target) |
ValueError("No generic implemenation for conv2d_winograd_without_weight_transform") |
override_native_generic_func("conv2d_gemm_without_weight_transform_strategy") |
conv2d_gemm_without_weight_transform_strategy(attrs, inputs, out_type, target) |
ValueError("No generic implemenation for conv2d_gemm_without_weight_transform") |
schedule_conv2d_winograd_weight_transform(attrs, outs, target) |
topi.generic.schedule_conv2d_winograd_weight_transform(outs) |
schedule_conv2d_winograd_nnpack_weight_transform(attrs, outs, target) |
topi.generic.schedule_conv2d_winograd_nnpack_weight_transform(outs) |
schedule_conv2d_gemm_weight_transform(attrs, outs, target) |
topi.generic.schedule_conv2d_gemm_weight_transform(outs) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.