Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JHL-HUST/VT
/ functions
Functions
318 in github.com/JHL-HUST/VT
⨍
Functions
318
◇
Types & classes
17
↓ 18 callers
Function
create_test_input
Create test input tensor. Args: batch_size: The number of images per batch or `None` if unknown. height: The height of each image or `None`
nets/resnet_v1_test.py:30
↓ 18 callers
Function
create_test_input
Create test input tensor. Args: batch_size: The number of images per batch or `None` if unknown. height: The height of each image or `None`
nets/resnet_v2_test.py:30
↓ 16 callers
Function
resnet_v1_block
Helper function for creating a resnet_v1 bottleneck block. Args: scope: The scope of the block. base_depth: The depth of the bottleneck lay
nets/resnet_v1.py:234
↓ 16 callers
Function
resnet_v2_block
Helper function for creating a resnet_v2 bottleneck block. Args: scope: The scope of the block. base_depth: The depth of the bottleneck lay
nets/resnet_v2.py:224
↓ 12 callers
Function
add_and_check_final
(name, net)
nets/inception_resnet_v2.py:134
↓ 11 callers
Function
add_and_check_final
(name, net)
nets/inception_v4.py:169
↓ 10 callers
Method
_resnet_small
A shallow and thin ResNet v1 for faster tests.
nets/resnet_v1_test.py:247
↓ 10 callers
Method
_resnet_small
A shallow and thin ResNet v2 for faster tests.
nets/resnet_v2_test.py:247
↓ 5 callers
Function
input_diversity
(input_tensor)
ni_di_ti_si_fgsm.py:222
↓ 5 callers
Function
input_diversity
(input_tensor)
mi_di_ti_si_fgsm.py:221
↓ 4 callers
Function
resnet_v1
Generator for v1 ResNet models. This function generates a family of ResNet v1 models. See the resnet_v1_*() methods for specific model instantiat
nets/resnet_v1.py:132
↓ 4 callers
Function
resnet_v2
Generator for v2 (preactivation) ResNet models. This function generates a family of ResNet v2 models. See the resnet_v2_*() methods for specific
nets/resnet_v2.py:111
↓ 3 callers
Function
wrapped_partial
(func, *args, **kwargs)
nets/mobilenet_v1.py:343
↓ 2 callers
Function
_reduced_kernel_size_for_small_input
Define kernel size which is automatically reduced for small input. If the shape of the input images is unknown at graph construction time this fu
nets/inception_v3.py:532
↓ 2 callers
Function
input_diversity
(input_tensor)
vmi_di_ti_si_fgsm.py:224
↓ 2 callers
Function
input_diversity
(input_tensor)
vni_di_ti_si_fgsm.py:223
↓ 1 callers
Function
_reduced_kernel_size_for_small_input
Define kernel size which is automatically reduced for small input. If the shape of the input images is unknown at graph construction time this fu
nets/mobilenet_v1.py:354
↓ 1 callers
Function
_reduced_kernel_size_for_small_input
Define kernel size which is automatically reduced for small input. If the shape of the input images is unknown at graph construction time this fu
nets/inception_v2.py:525
↓ 1 callers
Method
_resnet_plain
A plain ResNet without extra layers before or after the ResNet blocks.
nets/resnet_v1_test.py:154
↓ 1 callers
Method
_resnet_plain
A plain ResNet without extra layers before or after the ResNet blocks.
nets/resnet_v2_test.py:154
↓ 1 callers
Method
_stack_blocks_nondense
A simplified ResNet Block stacker without output stride control.
nets/resnet_v1_test.py:190
↓ 1 callers
Method
_stack_blocks_nondense
A simplified ResNet Block stacker without output stride control.
nets/resnet_v2_test.py:190
↓ 1 callers
Function
block8
Builds the 8x8 resnet block.
nets/inception_resnet_v2.py:74
↓ 1 callers
Function
block_inception_a
Builds Inception-A block for Inception v4 network.
nets/inception_v4.py:34
↓ 1 callers
Function
block_inception_b
Builds Inception-B block for Inception v4 network.
nets/inception_v4.py:75
↓ 1 callers
Function
block_inception_c
Builds Inception-C block for Inception v4 network.
nets/inception_v4.py:121
↓ 1 callers
Function
block_reduction_a
Builds Reduction-A block for Inception v4 network.
nets/inception_v4.py:55
↓ 1 callers
Function
block_reduction_b
Builds Reduction-B block for Inception v4 network.
nets/inception_v4.py:99
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
ni_di_ti_si_fgsm.py:133
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
vmi_di_ti_si_fgsm.py:136
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
vni_di_ti_si_fgsm.py:135
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
vni_fgsm.py:138
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
vmi_fgsm.py:138
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
mi_fgsm.py:132
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
ni_fgsm.py:132
↓ 1 callers
Function
check_or_create_dir
Check if directory exists otherwise create it.
mi_di_ti_si_fgsm.py:132
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
ni_di_ti_si_fgsm.py:71
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
vmi_di_ti_si_fgsm.py:74
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
vni_di_ti_si_fgsm.py:73
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
vni_fgsm.py:76
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
vmi_fgsm.py:76
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
mi_fgsm.py:70
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
ni_fgsm.py:70
↓ 1 callers
Function
gkern
Returns a 2D Gaussian kernel array.
mi_di_ti_si_fgsm.py:70
↓ 1 callers
Function
inception_resnet_v2_base
Inception model from http://arxiv.org/abs/1602.07261. Constructs an Inception Resnet v2 network from inputs to the given final endpoint. This me
nets/inception_resnet_v2.py:94
↓ 1 callers
Function
inception_v1_base
Defines the Inception V1 base architecture. This architecture is defined in: Going deeper with convolutions Christian Szegedy, Wei Liu, Yan
nets/inception_v1.py:29
↓ 1 callers
Function
inception_v2_base
Inception v2 (6a2). Constructs an Inception v2 network from inputs to the given final endpoint. This method can construct the network up to the l
nets/inception_v2.py:29
↓ 1 callers
Function
inception_v3_base
Inception model from http://arxiv.org/abs/1512.00567. Constructs an Inception v3 network from inputs to the given final endpoint. This method can
nets/inception_v3.py:29
↓ 1 callers
Function
inception_v4_base
Creates the Inception V4 network up to the given final endpoint. Args: inputs: a 4-D tensor of size [batch_size, height, width, 3]. final_e
nets/inception_v4.py:147
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
ni_di_ti_si_fgsm.py:85
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
vmi_di_ti_si_fgsm.py:88
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
vni_di_ti_si_fgsm.py:87
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
vni_fgsm.py:90
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
vmi_fgsm.py:90
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
simple_eval.py:32
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
mi_fgsm.py:84
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
ni_fgsm.py:84
↓ 1 callers
Function
load_images
Read png images from input directory in batches. Args: input_dir: input directory batch_shape: shape of minibatch array, i.e. [batch_s
mi_di_ti_si_fgsm.py:84
↓ 1 callers
Function
load_labels
(file_name)
ni_di_ti_si_fgsm.py:301
↓ 1 callers
Function
load_labels
(file_name)
vmi_di_ti_si_fgsm.py:302
↓ 1 callers
Function
load_labels
(file_name)
vni_di_ti_si_fgsm.py:301
↓ 1 callers
Function
load_labels
(file_name)
vni_fgsm.py:317
↓ 1 callers
Function
load_labels
(file_name)
vmi_fgsm.py:293
↓ 1 callers
Function
load_labels
(file_name)
simple_eval.py:26
↓ 1 callers
Function
load_labels
(file_name)
mi_fgsm.py:267
↓ 1 callers
Function
load_labels
(file_name)
ni_fgsm.py:267
↓ 1 callers
Function
load_labels
(file_name)
mi_di_ti_si_fgsm.py:299
↓ 1 callers
Function
mobilenet_v1_base
Mobilenet v1. Constructs a Mobilenet v1 network from inputs to the given final endpoint. Args: inputs: a tensor of shape [batch_size, height
nets/mobilenet_v1.py:142
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
ni_di_ti_si_fgsm.py:116
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
vmi_di_ti_si_fgsm.py:119
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
vni_di_ti_si_fgsm.py:118
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
vni_fgsm.py:121
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
vmi_fgsm.py:121
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
mi_fgsm.py:115
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
ni_fgsm.py:115
↓ 1 callers
Function
save_images
Saves images to the output directory. Args: images: array with minibatch of images filenames: list of filenames without path
mi_di_ti_si_fgsm.py:115
Function
alexnet_v2
AlexNet version 2. Described in: http://arxiv.org/pdf/1404.5997v2.pdf Parameters from: github.com/akrizhevsky/cuda-convnet2/blob/master/layers/
nets/alexnet.py:55
Function
alexnet_v2_arg_scope
(weight_decay=0.0005)
nets/alexnet.py:45
Function
batch_grad
(x, one_hot, i, max_iter, alpha, grad)
vmi_di_ti_si_fgsm.py:144
Function
batch_grad
(x, one_hot, i, max_iter, alpha, grad)
vni_di_ti_si_fgsm.py:143
Function
batch_grad
(x, one_hot, i, max_iter, alpha, grad)
vni_fgsm.py:146
Function
batch_grad
(x, one_hot, i, max_iter, alpha, grad)
vmi_fgsm.py:146
Function
block17
Builds the 17x17 resnet block.
nets/inception_resnet_v2.py:54
Function
block35
Builds the 35x35 resnet block.
nets/inception_resnet_v2.py:33
Function
bottleneck
Bottleneck residual unit variant with BN after convolutions. This is the original residual unit proposed in [1]. See Fig. 1(a) of [2] for its def
nets/resnet_v1.py:69
Function
bottleneck
Bottleneck residual unit variant with BN before convolutions. This is the full preactivation residual unit variant proposed in [2]. See Fig. 1(b)
nets/resnet_v2.py:62
Function
cifarnet
Creates a variant of the CifarNet model. Note that since the output is a set of 'logits', the values fall in the interval of (-infinity, infinity
nets/cifarnet.py:28
Function
cifarnet_arg_scope
Defines the default cifarnet argument scope. Args: weight_decay: The weight decay to use for regularizing the model. Returns: An `arg_sc
nets/cifarnet.py:93
Function
conv2d_same
Strided 2-D convolution with 'SAME' padding. When stride > 1, then we do explicit zero-padding, followed by conv2d with 'VALID' padding. Note
nets/resnet_utils.py:77
Function
get_network_fn
Returns a network_fn such as `logits, end_points = network_fn(images)`. Args: name: The name of the network. num_classes: The number of cla
nets/nets_factory.py:90
Function
grad_finish
(x, one_hot, i, max_iter, alpha, grad)
vmi_di_ti_si_fgsm.py:141
Function
grad_finish
(x, one_hot, i, max_iter, alpha, grad)
vni_di_ti_si_fgsm.py:140
Function
grad_finish
(x, one_hot, i, max_iter, alpha, grad)
vni_fgsm.py:143
Function
grad_finish
(x, one_hot, i, max_iter, alpha, grad)
vmi_fgsm.py:143
Function
graph
(x, y, i, x_max, x_min, grad)
ni_di_ti_si_fgsm.py:139
Function
graph
(x, y, i, x_max, x_min, grad, variance)
vmi_di_ti_si_fgsm.py:161
Function
graph
(x, y, i, x_max, x_min, grad, variance)
vni_di_ti_si_fgsm.py:160
Function
graph
(x, y, i, x_max, x_min, grad, variance)
vni_fgsm.py:156
Function
graph
(x, y, i, x_max, x_min, grad, variance)
vmi_fgsm.py:156
Function
graph
(x, y, i, x_max, x_min, grad)
mi_fgsm.py:138
next →
1–100 of 318, ranked by callers