Home
last modified time | relevance | path

Searched refs:block_type (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/keras/_impl/keras/applications/
Dinception_resnet_v2.py110 def inception_resnet_block(x, scale, block_type, block_idx, activation='relu'): argument
149 if block_type == 'block35':
157 elif block_type == 'block17':
163 elif block_type == 'block8':
172 'but got: ' + str(block_type))
174 block_name = block_type + '_' + str(block_idx)
306 x, scale=0.17, block_type='block35', block_idx=block_idx)
320 x, scale=0.1, block_type='block17', block_idx=block_idx)
337 x, scale=0.2, block_type='block8', block_idx=block_idx)
339 x, scale=1., activation=None, block_type='block8', block_idx=10)
/external/wpa_supplicant_8/src/tls/
Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
46 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
48 switch (block_type) { in pkcs1_generate_encryption_block()
71 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt() argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in pkcs1_encrypt()
Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
/external/libpcap/
Dsf-pcap-ng.c71 bpf_u_int32 block_type; member
202 bpf_u_int32 block_type; member
272 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
335 cursor->block_type = bhdr.block_type; in read_block()
352 cursor->block_type); in get_from_block_data()
875 bhdrp->block_type = magic; in pcap_ng_check_header()
927 switch (cursor.block_type) { in pcap_ng_check_header()
1048 switch (cursor.block_type) { in pcap_ng_next_packet()
/external/tensorflow/tensorflow/contrib/kfac/python/ops/
Dlayer_collection.py505 block_type = _FULLY_CONNECTED_APPROX_TO_BLOCK_TYPES[approx]
508 block = self.register_block(params, block_type(self, has_bias), reuse=reuse)
551 block_type = _CONV2D_APPROX_TO_BLOCK_TYPES[approx]
553 params, block_type(self, params, strides, padding), reuse=reuse)
585 block_type = _GENERIC_APPROX_TO_BLOCK_TYPES[approx]
586 block = self.register_block(params, block_type(self, params), reuse=reuse)
622 block_type = _FULLY_CONNECTED_MULTI_APPROX_TO_BLOCK_TYPES[approx]
627 block_type(self, inputs, outputs, has_bias=has_bias),
/external/mesa3d/src/compiler/glsl/
Dlink_uniform_block_active_visitor.cpp33 const glsl_type *const block_type = var->is_interface_instance() in process_block() local
45 b->type = block_type; in process_block()
63 if (b->type != block_type in process_block()
Dlink_uniform_blocks.cpp365 const glsl_type *block_type = b->type; in create_buffer_blocks() local
373 block_type->without_array()->name); in create_buffer_blocks()
382 process_block_array_leaf(block_type->name, blocks, &parcel, in create_buffer_blocks()
Dast_to_hir.cpp7581 const glsl_type *block_type = in hir() local
7589 unsigned component_size = block_type->contains_double() ? 8 : 4; in hir()
7592 validate_xfb_offset_qualifier(&loc, state, xfb_offset, block_type, in hir()
7595 if (!state->symbols->add_interface(block_type->name, block_type, var_mode)) { in hir()
7663 process_array_type(&loc, block_type, this->array_specifier, state); in hir()
7730 var = new(state) ir_variable(block_type, in hir()
7764 earlier->reinit_interface_type(block_type); in hir()
7809 var->init_interface_type(block_type); in hir()
7848 earlier->reinit_interface_type(block_type); in hir()
7894 if (redeclaring_per_vertex && block_type != earlier_per_vertex) { in hir()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c487 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
515 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
517 switch (block_type) { in pkcs1_generate_encryption_block()
540 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
550 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, in crypto_rsa_encrypt_pkcs1() argument
559 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in crypto_rsa_encrypt_pkcs1()
/external/brotli/c/dec/
Ddecode.c1068 uint32_t block_type; in DecodeBlockTypeAndLength() local
1072 block_type = ReadSymbol(type_tree, br); in DecodeBlockTypeAndLength()
1077 if (!SafeReadSymbol(type_tree, br, &block_type)) return BROTLI_FALSE; in DecodeBlockTypeAndLength()
1085 if (block_type == 1) { in DecodeBlockTypeAndLength()
1086 block_type = ringbuffer[1] + 1; in DecodeBlockTypeAndLength()
1087 } else if (block_type == 0) { in DecodeBlockTypeAndLength()
1088 block_type = ringbuffer[0]; in DecodeBlockTypeAndLength()
1090 block_type -= 2; in DecodeBlockTypeAndLength()
1092 if (block_type >= max_block_type) { in DecodeBlockTypeAndLength()
1093 block_type -= max_block_type; in DecodeBlockTypeAndLength()
[all …]
/external/brotli/c/enc/
Dbrotli_bit_stream.c748 const uint8_t block_type, in StoreBlockSwitch() argument
752 size_t typecode = NextBlockTypeCode(&code->type_code_calculator, block_type); in StoreBlockSwitch()
891 uint8_t block_type = self->block_types_[block_ix]; in StoreSymbol() local
893 self->entropy_ix_ = block_type * self->alphabet_size_; in StoreSymbol()
894 StoreBlockSwitch(&self->block_split_code_, block_len, block_type, 0, in StoreSymbol()
913 uint8_t block_type = self->block_types_[block_ix]; in StoreSymbolWithContext() local
915 self->entropy_ix_ = (size_t)block_type << context_bits; in StoreSymbolWithContext()
916 StoreBlockSwitch(&self->block_split_code_, block_len, block_type, 0, in StoreSymbolWithContext()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility.cc950 uint8_t block_type = *_ptrRTCPData++; in ParseXrItem() local
956 switch (block_type) { in ParseXrItem()