20.11
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 <
backendsCommon/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
WorkloadData.hpp
Tensor.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
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
Encoders.hpp
BaseIterator.hpp
Decoders.hpp
src
backends
reference
workloads
Fill.hpp
Generated on Wed Nov 25 2020 09:59:14 for ArmNN by
1.8.13