Last updated: 2023-03-16.
tf_quant_finance.datetime.utils.is_leap_year#
Calculates whether years are leap years.
tf_quant_finance.datetime.utils.is_leap_year(
years
)
Args:#
years: Tensor of int32 type. Elements should be positive.
Returns:#
Tensor of bool type.