tfmri.convex.ConvexFunctionIndicatorBall
tfmri.convex.ConvexFunctionIndicatorBall¶
- class ConvexFunctionIndicatorBall(domain_dimension, order, scale=None, dtype=None, name=None)[source]¶
Bases:
tensorflow_mri.python.ops.convex_ops.ConvexFunction
A
ConvexFunction
representing the indicator function of an Lp ball.- Parameters
domain_dimension – A scalar integer tf.Tensor. The dimension of the domain.
order – A float. The order of the norm. Supported values are
1
,2
, np.inf.scale –
A float. A scaling factor. Defaults to 1.0.
dtype – A tf.dtypes.DType. The type of this
ConvexFunction
. Defaults totf.dtypes.float32
.name – A name for this
ConvexFunction
.
Initialize this
ConvexFunction
.