Exemple #1
0
def _AvgPool3DGradGrad(op, grad):
    return (array_ops.stop_gradient(op.inputs[0]),
            gen_nn_ops.avg_pool3d(grad,
                                  op.get_attr("ksize"),
                                  op.get_attr("strides"),
                                  op.get_attr("padding"),
                                  data_format=op.get_attr("data_format")))
Exemple #2
0
def _AvgPool3DGradGrad(op, grad):
  return (array_ops.stop_gradient(op.inputs[0]), gen_nn_ops.avg_pool3d(
      grad,
      op.get_attr("ksize"),
      op.get_attr("strides"),
      op.get_attr("padding"),
      data_format=op.get_attr("data_format")))