25.11
Loading...
Searching...
No Matches
Fill.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
BaseIterator.hpp
"
9
#include "
Decoders.hpp
"
10
#include "
Encoders.hpp
"
11
#include <
armnn/Tensor.hpp
>
12
#include <
armnn/backends/WorkloadData.hpp
>
13
14
namespace
armnn
15
{
16
17
/// Creates a tensor and fills it with a scalar value.
18
void
Fill
(
Encoder<float>
& output,
19
const
TensorShape
& desiredOutputShape,
20
const
float
value);
21
22
}
//namespace armnn
BaseIterator.hpp
Decoders.hpp
Encoders.hpp
Tensor.hpp
WorkloadData.hpp
armnn::Encoder
Definition
BaseIterator.hpp:51
armnn::TensorShape
Definition
Tensor.hpp:21
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition
01_00_quick_start.dox:7
armnn::LayerType::Fill
@ Fill
Definition
Types.hpp:496
src
backends
reference
workloads
Fill.hpp
Generated on
for Arm NN by
1.14.0