示例#1
0
def _Relu6Grad(op, grad):
    return gen_nn_ops._relu6_grad(grad, op.inputs[0])
示例#2
0
def _Relu6GradGrad(op, grad):
  x = op.inputs[1]
  return (gen_nn_ops._relu6_grad(grad, x), array_ops.zeros(
      shape=array_ops.shape(x), dtype=x.dtype))
示例#3
0
def _Relu6Grad(op, grad):
  return gen_nn_ops._relu6_grad(grad, op.inputs[0])
示例#4
0
def _Relu6Grad(op, grad):
  return gen_nn_ops._relu6_grad(grad, op.outputs[0])  # pylint: disable=protected-access
示例#5
0
def _guided_grad_relu6(op, grad):
    return guided_grad(gen_nn_ops._relu6_grad(grad, op.outputs[0]))
示例#6
0
def _guided_grad_relu6(op, grad):
    return guided_grad(gen_nn_ops._relu6_grad(grad, op.outputs[0]))
示例#7
0
def _Relu6GradGrad(op, grad):
  x = op.inputs[1]
  return (gen_nn_ops._relu6_grad(grad, x), array_ops.zeros(
      shape=array_ops.shape(x), dtype=x.dtype))
示例#8
0
def _Relu6Grad(op, grad):
  return gen_nn_ops._relu6_grad(grad, op.outputs[0])  # pylint: disable=protected-access