/usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/jit/tensorexpr/operators
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/jit/tensorexpr/operators/conv2d.h (1182B)
#pragma once
#include
namespace torch {
namespace jit {
namespace tensorexpr {
// An API to compute 2D depthwise convolutions with bias.
TORCH_API Tensor conv2d_depthwise(
BufHandle input,
BufHandle weight,
BufHandle bias,
int stride,
int pad,
int groups);
// An API to compute 2D depthwise convolutions without bias.
TORCH_API Tensor conv2d_depthwise(
BufHandle input,
BufHandle weight,
int stride,
int pad,
int groups);
TORCH_API Tensor conv2d_depthwise(
BufHandle input,
BufHandle weight,
BufHandle bias,
ExprHandle N,
ExprHandle C,
ExprHandle H,
ExprHandle W,
ExprHandle K,
ExprHandle CperG,
ExprHandle R,
ExprHandle S,
ExprHandle stride,
ExprHandle pad,
ExprHandle groups);
TORCH_API Tensor conv2d_depthwise(
BufHandle input,
BufHandle weight,
ExprHandle N,
ExprHandle C,
ExprHandle H,
ExprHandle W,
ExprHandle K,
ExprHandle CperG,
ExprHandle R,
ExprHandle S,
ExprHandle stride,
ExprHandle pad,
ExprHandle groups);
} // namespace tensorexpr
} // namespace jit
} // namespace torch