ArmNN
 24.02
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>
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
WorkloadData.hpp
BaseIterator.hpp
armnn::Fill
void Fill(Encoder< float > &output, const TensorShape &desiredOutputShape, const float value)
Creates a tensor and fills it with a scalar value.
Definition: Fill.cpp:13
Tensor.hpp
Decoders.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
Encoders.hpp