<!--
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.math.qmc.utils" />
<meta itemprop="path" content="Stable" />
</div>

# Module: tf_quant_finance.math.qmc.utils

<!-- 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/math/qmc/utils.py">View source</a>



Utility functions.



## Modules

[`types`](../../../tf_quant_finance/types.md) module: Types module.

## Functions

[`exp2(...)`](../../../tf_quant_finance/math/qmc/utils/exp2.md): Returns the point-wise base-2 exponentiation of a given `Tensor`.

[`filter_tensor(...)`](../../../tf_quant_finance/math/qmc/utils/filter_tensor.md): Filters an input `Tensor` based on bits set in a mask `Tensor`.

[`get_shape(...)`](../../../tf_quant_finance/math/qmc/utils/get_shape.md): Returns the `shape` of a given `Tensor`.

[`log2(...)`](../../../tf_quant_finance/math/qmc/utils/log2.md): Returns the point-wise base-2 logarithm a given `Tensor`.

[`tent_transform(...)`](../../../tf_quant_finance/math/qmc/utils/tent_transform.md): Returns the tent transform of a given `Tensor`.

