Home
last modified time | relevance | path

Searched refs:layer_ (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dconvolution_op_builder.cc44 if (layer_ == nullptr) { in Build()
45 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
47 layer_->set_name(DebugName()); in Build()
65 layer_->mutable_convolution()->set_ngroups(1); in Build()
78 layer_->mutable_convolution()->set_ngroups( in Build()
92 layer_->mutable_convolution()->mutable_outputshape()->Add( in Build()
94 layer_->mutable_convolution()->mutable_outputshape()->Add( in Build()
102 layer_->mutable_convolution()->add_stride(stride_height); in Build()
103 layer_->mutable_convolution()->add_stride(stride_width); in Build()
107 layer_->mutable_convolution()->add_dilationfactor(dilation_height); in Build()
[all …]
Dresize_bilinear_op_builder.cc38 if (layer_ == nullptr) { in Build()
39 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
41 layer_->set_name(DebugName()); in Build()
45 layer_->mutable_resizebilinear()->mutable_targetsize()->Add(height_); in Build()
46 layer_->mutable_resizebilinear()->mutable_targetsize()->Add(width_); in Build()
53 layer_->mutable_resizebilinear()->mutable_mode()->set_samplingmethod( in Build()
56 layer_->mutable_resizebilinear()->mutable_mode()->set_samplingmethod( in Build()
59 return layer_.release(); in Build()
Dthreshold_layer_builder.cc29 if (layer_ == nullptr) { in Build()
30 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
32 layer_->set_name(DebugName()); in Build()
33 layer_->mutable_unary()->set_alpha(alpha_); in Build()
34 layer_->mutable_unary()->set_scale(scale_); in Build()
35 layer_->mutable_unary()->set_type( in Build()
37 return layer_.release(); in Build()
Dactivation_layer_builder.cc33 layer_->set_name(DebugName()); in Build()
37 layer_->mutable_activation()->mutable_linear()->set_alpha(alpha_); in Build()
40 layer_->mutable_activation()->mutable_relu(); in Build()
44 layer_->mutable_unary()->set_alpha(-1); in Build()
45 layer_->mutable_unary()->set_type( in Build()
49 layer_->mutable_activation()->mutable_relu(); in Build()
52 layer_->mutable_activation()->mutable_tanh(); in Build()
55 layer_->mutable_activation()->mutable_sigmoid(); in Build()
62 return layer_.release(); in Build()
Dfully_connected_op_builder.cc39 if (layer_ == nullptr) { in Build()
40 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
42 layer_->set_name(DebugName()); in Build()
47 return layer_.release(); in Build()
51 layer_->mutable_innerproduct()->set_inputchannels(weights_->dims->data[1]); in FillCoreMLWeights()
52 layer_->mutable_innerproduct()->set_outputchannels(weights_->dims->data[0]); in FillCoreMLWeights()
56 google::protobuf::RepeatedFieldBackInserter(layer_->mutable_innerproduct() in FillCoreMLWeights()
61 layer_->mutable_innerproduct() in FillCoreMLWeights()
70 layer_->mutable_innerproduct()->set_hasbias(true); in FillCoreMLBias()
74 google::protobuf::RepeatedFieldBackInserter(layer_->mutable_innerproduct() in FillCoreMLBias()
[all …]
Dsoftmax_op_builder.cc28 if (layer_ == nullptr) { in Build()
29 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
31 layer_->set_name(DebugName()); in Build()
32 layer_->mutable_softmax(); in Build()
34 return layer_.release(); in Build()
Dadd_op_builder.cc33 if (layer_ == nullptr) { in Build()
34 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
36 layer_->set_name(DebugName()); in Build()
37 layer_->mutable_add(); in Build()
39 layer_->mutable_add()->set_alpha(alpha_); in Build()
42 return layer_.release(); in Build()
Dmul_op_builder.cc36 if (layer_ == nullptr) { in Build()
37 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
42 layer_->set_name(DebugName()); in Build()
43 layer_->mutable_multiply(); in Build()
45 layer_->mutable_multiply()->set_alpha(alpha_); in Build()
48 return layer_.release(); in Build()
Dconcatenation_op_builder.cc26 if (layer_ == nullptr) { in Build()
27 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
29 layer_->set_name(DebugName()); in Build()
30 layer_->mutable_concat()->set_sequenceconcat(false); in Build()
31 return layer_.release(); in Build()
Dpad_op_builder.cc37 layer_->set_name(DebugName()); in Build()
39 layer_->mutable_padding()->mutable_constant(); in Build()
41 layer_->mutable_padding()->mutable_reflection(); in Build()
43 return layer_.release(); in Build()
51 auto* borderamount = layer_->mutable_padding() in SetPadding()
60 layer_->mutable_padding()->mutable_constant()->set_value( in SetConstantValue()
Dreshape_op_builder.cc37 if (layer_ == nullptr) { in Build()
38 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in Build()
40 layer_->set_name(DebugName()); in Build()
42 layer_->mutable_reshape()->add_targetshape(dim); in Build()
45 layer_->mutable_reshape()->set_mode( in Build()
47 return layer_.release(); in Build()
Dhardswish_op_builder.cc32 layer_->set_name(DebugName()); in Build()
33 layer_->mutable_multiply()->set_alpha(1.0f / 6.0f); in Build()
35 return layer_.release(); in Build()
46 add_builder->AddInput(layer_->input(0)); in PopulateSubgraph()
Dop_builder.cc174 layer_->set_name(DebugName()); in Build()
175 return layer_.release(); in Build()
203 if (layer_ == nullptr) { in AddInput()
204 layer_.reset(new CoreML::Specification::NeuralNetworkLayer); in AddInput()
206 *layer_->mutable_input()->Add() = input_name; in AddInput()
219 *layer_->mutable_output()->Add() = tensor_id.ToString(); in AddOutput()
Dpooling_layer_builder.cc50 layer_->set_name(DebugName()); in Build()
51 auto* pooling_params = layer_->mutable_pooling(); in Build()
57 return layer_.release(); in Build()
95 return layer_.release(); in Build()
Dop_builder.h164 std::unique_ptr<CoreML::Specification::NeuralNetworkLayer> layer_; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_texture.h48 layer_(layer), in GlTexture()
77 GLint layer() const { return layer_; } in layer()
96 GLint layer_; variable
Dgl_texture.cc31 texture.bytes_size_, texture.layer_, texture.owned_) { in GlTexture()
42 layer_ = texture.layer_; in operator =()
63 /* layered = */ GL_TRUE, layer_, access, format_); in BindImage()
/external/flac/src/test_libFLAC++/
Dencoders.cpp102 Layer layer_; member in StreamEncoder
105 StreamEncoder(Layer layer): FLAC::Encoder::Stream(), layer_(layer), file_(0) { } in StreamEncoder()
146 if(layer_==LAYER_STREAM) in seek_callback()
157 if(layer_==LAYER_STREAM) in tell_callback()
174 Layer layer_; member in FileEncoder
176 FileEncoder(Layer layer): FLAC::Encoder::File(), layer_(layer) { } in FileEncoder()
Ddecoders.cpp122 Layer layer_; member in DecoderCommon
127 …DecoderCommon(Layer layer): layer_(layer), current_metadata_number_(0), ignore_errors_(false), err… in DecoderCommon()
231 if(layer_ == LAYER_STREAM) in seek_callback()
247 if(layer_ == LAYER_STREAM) in tell_callback()
266 if(layer_ == LAYER_STREAM) in length_callback()
278 if(layer_ == LAYER_STREAM) in eof_callback()
383 switch(layer_) { in test_respond()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_structs.hpp48127 std::array<char, VK_MAX_EXTENSION_NAME_SIZE> const & layer_ = {} ) VULKAN_HPP_NOEXCEPT
48132 , layer( layer_ )
55384 … uint32_t layer_ = {} ) VULKAN_HPP_NOEXCEPT
55387 , layer( layer_ )
55396 explicit RectLayerKHR( Rect2D const & rect2D, uint32_t layer_ = {} ) in RectLayerKHR()
55397 : offset( rect2D.offset ), extent( rect2D.extent ), layer( layer_ )
55421 RectLayerKHR & setLayer( uint32_t layer_ ) VULKAN_HPP_NOEXCEPT in setLayer()
55423 layer = layer_; in setLayer()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp54060 …t& description_ = {}, std::array<char,VK_MAX_EXTENSION_NAME_SIZE> const& layer_ = {}) VULKAN_HPP_N… in PhysicalDeviceToolPropertiesEXT()
54061 …( name_ ), version( version_ ), purposes( purposes_ ), description( description_ ), layer( layer_ )
75776 …et2D offset_ = {}, VULKAN_HPP_NAMESPACE::Extent2D extent_ = {}, uint32_t layer_ = {}) VULKAN_HPP_N… in RectLayerKHR()
75777 : offset( offset_ ), extent( extent_ ), layer( layer_ )
75787 explicit RectLayerKHR( Rect2D const& rect2D, uint32_t layer_ = {} ) in RectLayerKHR()
75790 , layer( layer_ )
75818 RectLayerKHR & setLayer( uint32_t layer_ ) VULKAN_HPP_NOEXCEPT in setLayer()
75820 layer = layer_; in setLayer()
/external/swiftshader/include/vulkan/
Dvulkan.hpp54238 …t& description_ = {}, std::array<char,VK_MAX_EXTENSION_NAME_SIZE> const& layer_ = {}) VULKAN_HPP_N… in PhysicalDeviceToolPropertiesEXT()
54239 …( name_ ), version( version_ ), purposes( purposes_ ), description( description_ ), layer( layer_ )
76266 …et2D offset_ = {}, VULKAN_HPP_NAMESPACE::Extent2D extent_ = {}, uint32_t layer_ = {}) VULKAN_HPP_N… in RectLayerKHR()
76267 : offset( offset_ ), extent( extent_ ), layer( layer_ )
76277 explicit RectLayerKHR( Rect2D const& rect2D, uint32_t layer_ = {} ) in RectLayerKHR()
76280 , layer( layer_ )
76308 RectLayerKHR & setLayer( uint32_t layer_ ) VULKAN_HPP_NOEXCEPT in setLayer()
76310 layer = layer_; in setLayer()