code stringlengths 3 6.57k |
|---|
get_const_float(attrs.score_threshold) |
topi_compute(inputs[0], score_threshold, id_index, score_index) |
override_native_generic_func("get_valid_counts_strategy") |
get_valid_counts_strategy(attrs, inputs, out_type, target) |
_op.OpStrategy() |
wrap_compute_get_valid_counts(topi.vision.get_valid_counts) |
wrap_topi_schedule(topi.generic.schedule_get_valid_counts) |
wrap_compute_nms(topi_compute) |
_compute_nms(attrs, inputs, out_type) |
get_const_float(attrs.iou_threshold) |
bool(get_const_int(attrs.return_indices) |
bool(get_const_int(attrs.force_suppress) |
get_const_int(attrs.top_k) |
get_const_int(attrs.coord_start) |
get_const_int(attrs.score_index) |
get_const_int(attrs.id_index) |
bool(get_const_int(attrs.invalid_to_bottom) |
override_native_generic_func("non_max_suppression_strategy") |
nms_strategy(attrs, inputs, out_type, target) |
_op.OpStrategy() |
wrap_compute_nms(topi.vision.non_max_suppression) |
wrap_topi_schedule(topi.generic.schedule_nms) |
wrap_compute_roi_align(topi_compute) |
_compute_roi_align(attrs, inputs, out_type) |
get_const_tuple(attrs.pooled_size) |
override_native_generic_func("roi_align_strategy") |
roi_align_strategy(attrs, inputs, out_type, target) |
_op.OpStrategy() |
wrap_compute_roi_align(topi.vision.rcnn.roi_align_nchw) |
wrap_topi_schedule(topi.generic.schedule_roi_align) |
schedule_roi_pool(attrs, outs, target) |
topi.generic.schedule_roi_pool(outs) |
wrap_compute_proposal(topi_compute) |
_compute_proposal(attrs, inputs, out_type) |
get_float_tuple(attrs.scales) |
get_float_tuple(attrs.ratios) |
bool(get_const_int(attrs.iou_loss) |
override_native_generic_func("proposal_strategy") |
proposal_strategy(attrs, inputs, out_type, target) |
_op.OpStrategy() |
wrap_compute_proposal(topi.vision.rcnn.proposal) |
wrap_topi_schedule(topi.generic.schedule_proposal) |
override_native_generic_func("scatter_strategy") |
scatter_strategy(attrs, outs, out_type, target) |
_op.OpStrategy() |
wrap_compute_scatter(topi.scatter) |
wrap_topi_schedule(topi.generic.schedule_scatter) |
wrap_compute_scatter(topi_compute) |
_compute_scatter(attrs, inputs, _) |
topi_compute(inputs[0], inputs[1], inputs[2], axis=attrs.axis) |
override_native_generic_func("scatter_add_strategy") |
scatter_add_strategy(attrs, outs, out_type, target) |
_op.OpStrategy() |
wrap_compute_scatter(topi.scatter_add) |
wrap_topi_schedule(topi.generic.schedule_scatter) |
override_native_generic_func("scatter_nd_strategy") |
scatter_nd_strategy(attrs, inputs, out_type, target) |
_op.OpStrategy() |
wrap_compute_scatter_nd(topi.scatter_nd) |
wrap_topi_schedule(topi.generic.schedule_extern) |
wrap_compute_scatter_nd(topi_compute) |
_compute_scatter_nd(attrs, inputs, _) |
topi_compute(inputs[0], inputs[1], attrs.out_shape) |
wrap_compute_bitserial_conv2d(topi_compute) |
compute_bitserial_conv2d(attrs, inputs, out_dtype) |
get_const_tuple(attrs.padding) |
get_const_tuple(attrs.strides) |
override_native_generic_func("bitserial_conv2d_strategy") |
bitserial_conv2d_strategy(attrs, inputs, out_type, target) |
logger.warning("bitserial_conv2d is not optimized for this platform.") |
_op.OpStrategy() |
wrap_compute_bitserial_conv2d(topi.nn.bitserial_conv2d_nchw) |
wrap_topi_schedule(topi.generic.schedule_bitserial_conv2d_nchw) |
wrap_compute_bitserial_conv2d(topi.nn.bitserial_conv2d_nhwc) |
wrap_topi_schedule(topi.generic.schedule_bitserial_conv2d_nhwc) |
ValueError("Data layout {} not supported.".format(layout) |
wrap_compute_bitserial_dense(topi_compute) |
compute_bitserial_dense(attrs, inputs, out_type) |
override_native_generic_func("bitserial_dense_strategy") |
bitserial_dense_strategy(attrs, inputs, out_type, target) |
logger.warning("bitserial_dense is not optimized for this platform.") |
_op.OpStrategy() |
wrap_compute_bitserial_dense(topi.nn.bitserial_dense) |
wrap_topi_schedule(topi.generic.schedule_bitserial_dense) |
wrap_compute_correlation(topi_compute) |
_compute_correlation(attrs, inputs, out_type) |
get_const_tuple(attrs.padding) |
override_native_generic_func("correlation_strategy") |
correlation_strategy(attrs, inputs, out_type, target) |
logger.warning("correlation is not optimized for this platform.") |
_op.OpStrategy() |
wrap_compute_correlation(topi.nn.correlation_nchw) |
wrap_topi_schedule(topi.generic.schedule_correlation_nchw) |
wrap_compute_argwhere(topi_compute) |
_compute_argwhere(attrs, inputs, out_type) |
hasattr(s, "value") |
output_shape.append(s) |
output_shape.append(te.var("any_dim", "int32") |
ir.TensorType(output_shape, "int32") |
topi_compute(new_output_type, inputs[0]) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.