license import { Tensor3D , Tensor4D } from '../tensor' ; import { convertToTensor } from '../tensor_util_env' ; import { TensorLike } from '../types' ; import { conv2DBackpropInput } from './conv2d_backprop_input' ; import { ExplicitPadding } from './conv_util' ; import { op } from './operation' ; param x param filter param outputShape param strides param pad param dimRoundingMode doc function conv2dTranspose_ < T extends Tensor3D | Tensor4D > ( x , filter , outputShape , strides , pad , dimRoundingMode ? ) { const $x = convertToTensor ( x , 'x' , 'conv2dTranspose' ) ; const $filter = convertToTensor ( filter , 'filter' , 'conv2dTranspose' ) ; return conv2DBackpropInput ( outputShape , $x , $filter , strides , pad , 'NHWC' , dimRoundingMode ) ; } export const conv2dTranspose = op ( { conv2dTranspose_ } ) ;