<!--
This file is generated by a tool. Do not edit directly.
For open-source contributions the docs will be updated automatically.
-->

*Last updated: 2023-03-16.*

<div itemscope itemtype="http://developers.google.com/ReferenceObject">
<meta itemprop="name" content="tf_quant_finance.rates.SwapCurveBuilderResult" />
<meta itemprop="path" content="Stable" />
<meta itemprop="property" content="__eq__"/>
<meta itemprop="property" content="__ge__"/>
<meta itemprop="property" content="__gt__"/>
<meta itemprop="property" content="__init__"/>
<meta itemprop="property" content="__iter__"/>
<meta itemprop="property" content="__le__"/>
<meta itemprop="property" content="__len__"/>
<meta itemprop="property" content="__lt__"/>
<meta itemprop="property" content="__ne__"/>
</div>

# tf_quant_finance.rates.SwapCurveBuilderResult

<!-- Insert buttons and diff -->

<table class="tfo-notebook-buttons tfo-api" align="left">
</table>

<a target="_blank" href="https://github.com/paolodelia99/tf-quant-finance/blob/main/tf_quant_finance/rates/swap_curve_common.py">View source</a>



Swap curve calibration results.

```python
tf_quant_finance.rates.SwapCurveBuilderResult(
    times, rates, discount_factors, initial_rates, converged, failed, iterations,
    objective_value
)
```



<!-- Placeholder for "Used in" -->


#### Attributes:

* <b>`times`</b>: Rank 1 real `Tensor`. Times for the computed rates.
* <b>`rates`</b>: Rank 1 `Tensor` of the same dtype as `times`. The inferred zero
  rates.
* <b>`discount_factors`</b>: Rank 1 `Tensor` of the same dtype as `times`. The inferred
  discount factors.
* <b>`initial_rates`</b>: Rank 1 `Tensor` of the same dtype as `times`. The initial
  guess for the rates.
* <b>`converged`</b>: Scalar boolean `Tensor`. Whether the procedure converged.
* <b>`failed`</b>: Scalar boolean `Tensor`. Whether the procedure failed.
* <b>`iterations`</b>: Scalar int32 `Tensor`. Number of iterations performed.
* <b>`objective_value`</b>: Scalar real `Tensor`. The objective function at the optimal
  soultion.

## Methods

<h3 id="__eq__"><code>__eq__</code></h3>

```python
__eq__(
    other
)
```

Method generated by attrs for class SwapCurveBuilderResult.


<h3 id="__ge__"><code>__ge__</code></h3>

```python
__ge__(
    other
)
```

Method generated by attrs for class SwapCurveBuilderResult.


<h3 id="__gt__"><code>__gt__</code></h3>

```python
__gt__(
    other
)
```

Method generated by attrs for class SwapCurveBuilderResult.


<h3 id="__iter__"><code>__iter__</code></h3>

<a target="_blank" href="https://github.com/paolodelia99/tf-quant-finance/blob/main/tf_quant_finance/utils/dataclass.py">View source</a>

```python
__iter__()
```




<h3 id="__le__"><code>__le__</code></h3>

```python
__le__(
    other
)
```

Method generated by attrs for class SwapCurveBuilderResult.


<h3 id="__len__"><code>__len__</code></h3>

<a target="_blank" href="https://github.com/paolodelia99/tf-quant-finance/blob/main/tf_quant_finance/utils/dataclass.py">View source</a>

```python
__len__()
```




<h3 id="__lt__"><code>__lt__</code></h3>

```python
__lt__(
    other
)
```

Method generated by attrs for class SwapCurveBuilderResult.


<h3 id="__ne__"><code>__ne__</code></h3>

```python
__ne__(
    other
)
```

Method generated by attrs for class SwapCurveBuilderResult.




