code: def actual_360(
      *, start_date, end_date, schedule_info=None, dtype=None, name=None
  ):
      """Computes the year fraction between the specified dates.
  
      The actual/360 convention specifies the year fraction between the start and
      end date as the actual number of days between the two dates divided by 360.
  
      Note that the schedule info is not needed for this convention and is ignored
      if supplied.
  
      For more details see:
      https://en.wikipedia.org/wiki/Day_count_convention#Actual/360
  
      Args:
        start_date: A `DateTensor` object of any shape.
        end_date: A `DateTensor` object of compatible shape with `start_date`.
        schedule_info: The schedule info. Ignored for this convention.
        dtype: The dtype of the result. Either `tf.float32` or `tf.float64`. If not
          supplied, `tf.float32` is returned.
        name: Python `str` name prefixed to ops created by this function. If not
          supplied, `actual_360` is used.
  
      Returns:
        A real `Tensor` of supplied `dtype` and shape of `start_date`. The year
        fraction between the start and end date as computed by Actual/360
        convention.
      """
      del schedule_info
      with tf.name_scope(name or "actual_360"):
          end_date = dt.convert_to_date_tensor(end_date)
          start_date = dt.convert_to_date_tensor(start_date)
          dtype = dtype or tf.constant(0.0).dtype
          actual_days = tf.cast(
              start_date.days_until(end_date), dtype=dtype
          )
          return actual_days / 360
  
file_path: tf-quant-finance/tf_quant_finance/datetime/daycounts.py
imports: import tensorflow.compat.v2
  from tf_quant_finance.datetime import date_tensor
  from tf_quant_finance.datetime import date_utils
  from tf_quant_finance.datetime import periods
label_desc: Use image node_id 1 for calling a global function with example usage: actual_360() and returns: unknown