def mul ( a , b ) : def multiply ( a , b ) : """Multiplication""" return a * b return op_with_scalar_cast ( a , b , multiply )
tf have no attribute python
A wrapper around tf multiplication that does more automatic casting of the input .
def mul(a, b):
  """
  A wrapper around tf multiplication that does more automatic casting of
  the input.
  """
  def multiply(a, b):
    """Multiplication"""
    return a * b
  return op_with_scalar_cast(a, b, multiply)