struct InferenceEngine::LayerParams

Overview

Deprecated Migrate to IR v10 and work with ngraph::Function directly. More…

#include <ie_layers.h>

struct LayerParams
{
    // fields

    std::string name;
    std::string type;
    Precision precision;

    // construction

    LayerParams();
    LayerParams(const LayerParams& other);

    LayerParams(
        const std::string& name,
        const std::string& type,
        Precision precision
        );

    // methods

    LayerParams& operator = (const LayerParams& other);
};

Detailed Documentation

Deprecated Migrate to IR v10 and work with ngraph::Function directly. The method will be removed in 2021.1

Fields

std::string name

Layer name.

std::string type

Layer type.

Precision precision

Layer precision.

Construction

LayerParams()

A default constructor.

LayerParams(const LayerParams& other)

A copy constructor.

Parameters:

other

An object to copy.

LayerParams(
    const std::string& name,
    const std::string& type,
    Precision precision
    )

A constructor with parameters.

Parameters:

name

A layer name.

type

A layer type.

precision

A layer precision.

Methods

LayerParams& operator = (const LayerParams& other)

A copy assignment operator.

Parameters:

other

An object to copy

Returns:

A value