Deep Learning 60

reduce_sum, cast, argmax, image_dataset_from_directory, one_hot, reduce_mean, assign_sub, boolean_mask, random.normal, zeros

reduce_sum Computes the sum of elements across dimensions of a tensor. - keepdims=False The rank of the tensor is reduced by 1 for each of the entries in axis A = tf.constant([[[1, 2, 3]], [[4, 5, 6]]]) tf.reduce_sum(A)=21 tf.reduce_sum(A, 0)=[[5 7 9]] tf.reduce_sum(A, 1)=[[1 2 3] [4 5 6]] tf.reduce_sum(A, 2)=[[ 6] [15]] - keepdims=True The reduced dimensions are retained with length 1. tf.reduc..

(prerequisite-RoIs) Interpolation, Linear Interpolation, Bilinear Interpolation, ZOH(Zero-order Hold Interpolation)

Interpolation It is estimating the value between two known values. Extrapolation It is estimating a value at an external location outside the range. Linear Interpolation A method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points. Formula d1 : The distance from x to x1. d2 : The distance from x to x2. If the distance rat..

Deep Learning/CNN 2023.07.04