blace.ai
blace::ops::MapToRangeOp Class Reference

#include <public_ops.h>

Inheritance diagram for blace::ops::MapToRangeOp:

Public Member Functions

 MapToRangeOp (OpP input, ml_core::ValueRangeEnum range)
 

Detailed Description

Maps the values in the input operator to a given range based on the meta data of the input operator. If the input operator has range ml_core::ValueRangeEnum::UNKNOWN_VALUE_RANGE the operator will fail.

Constructor & Destructor Documentation

◆ MapToRangeOp()

blace::ops::MapToRangeOp::MapToRangeOp ( OpP  input,
ml_core::ValueRangeEnum  range 
)

Constructs an operator which maps the input to the given range.

Parameters
inputThe input node.
rangeThe requested range.