Uses of Class
deepnetts.tensor.TensorBase
Packages that use TensorBase
Package
Description
Data structures to store example data used for building machine learning models.
Data normalization methods, used to scale data to specific range, in order to make them suitable for use by a neural network.
Neural network architectures with their corresponding builders.
Neural network layers, which are main building blocks of a neural network.
Commonly used loss functions, which are used to calculate error during the training as a difference between predicted and target output.
Optimization methods used by training algorithm.
Various utility classes including Tensor, image operations, multithreading, exceptions etc.
-
Uses of TensorBase in deepnetts.accl.spi
Methods in deepnetts.accl.spi with parameters of type TensorBaseModifier and TypeMethodDescriptionAcceleratorProvider.createAcceleratorTensorBridge(TensorBase tensor) -
Uses of TensorBase in deepnetts.data
Methods in deepnetts.data that return TensorBaseModifier and TypeMethodDescriptionDataSetItem.getInput()MLDataItem.getInput()Returns an input for machine learning model of this item.ImageSet.getMean()DataSetItem.getTargetOutput()ExampleImage.getTargetOutput()MLDataItem.getTargetOutput()Returns target output for machine learning model of this item.ImageSet.zeroMean()Applies zero mean normalization to entire dataset, and returns mean tensor.ImageSet.zeroMeanAndNormalize()ImageSet.zeroMeanPerChannel()Methods in deepnetts.data with parameters of type TensorBaseModifier and TypeMethodDescriptionfinal voidExampleImage.setTargetOutput(TensorBase targetOutput) Constructors in deepnetts.data with parameters of type TensorBase -
Uses of TensorBase in deepnetts.data.norm
Methods in deepnetts.data.norm that return TensorBaseMethods in deepnetts.data.norm with parameters of type TensorBaseModifier and TypeMethodDescriptionvoidMaxScaler.deNormalizeInputs(TensorBase inputs) voidMaxScaler.deNormalizeOutputs(TensorBase outputs) De-normalize given output vector in-place.voidMaxScaler.normalizeInput(TensorBase input) abstract voidAbstractScaler.scaleInput(TensorBase input) Normalize input of deployed modelvoidDecimalScaler.scaleInput(TensorBase input) voidMaxScaler.scaleInput(TensorBase input) voidMinMaxScaler.scaleInput(TensorBase input) voidRangeScaler.scaleInput(TensorBase input) voidStandardizer.scaleInput(TensorBase input) voidMaxScaler.setMaxInputs(TensorBase maxInputs) voidMaxScaler.setMaxOutputs(TensorBase maxOutputs) -
Uses of TensorBase in deepnetts.net
Methods in deepnetts.net that return TensorBaseModifier and TypeMethodDescriptionNeuralNetwork.getOutputAsTensor()NeuralNetwork.predict(TensorBase input) Returns the prediction of this neural network for the given input.Methods in deepnetts.net that return types with arguments of type TensorBaseModifier and TypeMethodDescriptionConvolutionalNetwork.getDeltaWeights()Returns delta weights for all layers.ConvolutionalNetwork.getLayersGradients()ConvolutionalNetwork.getLayersOutputs()Returns outputs of all layers.ConvolutionalNetwork.getWeights()Returns weights from all layers in this network as a list of tensors.Methods in deepnetts.net with parameters of type TensorBaseModifier and TypeMethodDescriptionNeuralNetwork.predict(TensorBase input) Returns the prediction of this neural network for the given input.voidConvolutionalNetwork.setInput(TensorBase input) voidNeuralNetwork.setInput(TensorBase inputs) Sets network input and calculates entire network (triggers forward pass).voidNeuralNetwork.setOutputError(TensorBase outputErrors) Sets the network's output errors, which are a difference between actual(predicted) and target output. -
Uses of TensorBase in deepnetts.net.layers
Classes in deepnetts.net.layers with type parameters of type TensorBaseModifier and TypeClassDescriptionclassAbstractLayer<I extends TensorBase, O extends TensorBase, W extends TensorBase>Base class for different types of layers.classAbstractLayer<I extends TensorBase, O extends TensorBase, W extends TensorBase>Base class for different types of layers.classAbstractLayer<I extends TensorBase, O extends TensorBase, W extends TensorBase>Base class for different types of layers.Subclasses with type arguments of type TensorBase in deepnetts.net.layersModifier and TypeClassDescriptionclassclassfinal classConvolutional layer performs image convolution operation on outputs of a previous layer using filters.final classConvolutional layer performs image convolution operation on outputs of a previous layer using filters.classclassclassclassclassTransforms outputs from previous 3D layer into a flatten 1D tensor in forward pass, Backward pass propagates weighted errors/deltas from the next fully connected layer.classTransforms outputs from previous 3D layer into a flatten 1D tensor in forward pass, Backward pass propagates weighted errors/deltas from the next fully connected layer.classTransforms outputs from previous 3D layer into a flatten 1D tensor in forward pass, Backward pass propagates weighted errors/deltas from the next fully connected layer.classFully connected layer is used as a hidden layer in a neural network, and it has a single row of units/nodes/neurons connected to all neurons in previous and next layer.classFully connected layer is used as a hidden layer in a neural network, and it has a single row of units/nodes/neurons connected to all neurons in previous and next layer.classclassclassfinal classThis layer performs max pooling operation in convolutional neural network, which scales down output from previous layer by taking max outputs from small predefined filter areas.final classThis layer performs max pooling operation in convolutional neural network, which scales down output from previous layer by taking max outputs from small predefined filter areas.final classThis layer performs max pooling operation in convolutional neural network, which scales down output from previous layer by taking max outputs from small predefined filter areas.classOutput layer of a neural network.classOutput layer of a neural network.classclassFields in deepnetts.net.layers declared as TensorBaseModifier and TypeFieldDescriptionprotected OAbstractLayer.deltasDeltas used for learning.protected WAbstractLayer.deltaWeightsWeight changes for current and previous iteration.protected WAbstractLayer.gradientsGradients of a loss function calculates during a backward pass.protected IAbstractLayer.inputsInputs to this layer.protected TensorBaseOutputLayer.outputErrorsprotected OAbstractLayer.outputsLayer outputs.protected WAbstractLayer.prevDeltaWeightsWeight changes for current and previous iteration.protected WAbstractLayer.weightsInput weight matrix / connectivity matrix for previous layer.Methods in deepnetts.net.layers that return TensorBaseModifier and TypeMethodDescriptionConvolutionalLayer.getFilterDeltaWeights()ConvolutionalLayer.getFilters()final TensorBaseOutputLayer.getOutputErrors()Methods in deepnetts.net.layers with parameters of type TensorBaseModifier and TypeMethodDescriptionvoidInputLayer.setInput(TensorBase in) Sets network inputfinal voidOutputLayer.setOutputErrors(TensorBase outputErrors) -
Uses of TensorBase in deepnetts.net.loss
Methods in deepnetts.net.loss that return TensorBaseModifier and TypeMethodDescriptionBinaryCrossEntropyLoss.addPatternError(TensorBase predictedOutput, TensorBase targetOutput) Calculates error for given actual and target patterns and adds that error to total error.CrossEntropyLoss.addPatternError(TensorBase predictedOut, TensorBase targetOut) Calculates and returns outpurt error vector for specified predicted and target outputs.LossFunction.addPatternError(TensorBase predictedOutput, TensorBase targetOutput) Calculates pattern error for singe pattern for the specified predicted and target outputs, adds the error to total error, and returns the pattern error.MeanSquaredErrorLoss.addPatternError(TensorBase predictedOut, TensorBase targetOut) Adds output error vector for the given predicted and target output vectors to total error sum and returns and error vector.Methods in deepnetts.net.loss with parameters of type TensorBaseModifier and TypeMethodDescriptionBinaryCrossEntropyLoss.addPatternError(TensorBase predictedOutput, TensorBase targetOutput) Calculates error for given actual and target patterns and adds that error to total error.CrossEntropyLoss.addPatternError(TensorBase predictedOut, TensorBase targetOut) Calculates and returns outpurt error vector for specified predicted and target outputs.LossFunction.addPatternError(TensorBase predictedOutput, TensorBase targetOutput) Calculates pattern error for singe pattern for the specified predicted and target outputs, adds the error to total error, and returns the pattern error.MeanSquaredErrorLoss.addPatternError(TensorBase predictedOut, TensorBase targetOut) Adds output error vector for the given predicted and target output vectors to total error sum and returns and error vector. -
Uses of TensorBase in deepnetts.net.train.opt
Fields in deepnetts.net.train.opt declared as TensorBaseModifier and TypeFieldDescriptionprotected TensorBaseAbstractOptimizer.deltaBiasesprotected TensorBaseAbstractOptimizer.deltasprotected TensorBaseAbstractOptimizer.deltaWeightsprotected TensorBaseAbstractOptimizer.gradientsprotected TensorBaseAbstractOptimizer.inputsMethods in deepnetts.net.train.opt that return TensorBaseModifier and TypeMethodDescriptionAdaDeltaOptimizer.calculateDeltaWeight(TensorBase grad) AdaGradOptimizer.calculateDeltaWeight(TensorBase grad) AdamOptimizer.calculateDeltaWeight(TensorBase grad) MomentumOptimizer.calculateDeltaWeight(TensorBase grad) Optimizer.calculateDeltaWeight(TensorBase grad) RmsPropOptimizer.calculateDeltaWeight(TensorBase grad) SgdOptimizer.calculateDeltaWeight(TensorBase grad) Methods in deepnetts.net.train.opt with parameters of type TensorBaseModifier and TypeMethodDescriptionAdaDeltaOptimizer.calculateDeltaWeight(TensorBase grad) AdaGradOptimizer.calculateDeltaWeight(TensorBase grad) AdamOptimizer.calculateDeltaWeight(TensorBase grad) MomentumOptimizer.calculateDeltaWeight(TensorBase grad) Optimizer.calculateDeltaWeight(TensorBase grad) RmsPropOptimizer.calculateDeltaWeight(TensorBase grad) SgdOptimizer.calculateDeltaWeight(TensorBase grad) -
Uses of TensorBase in deepnetts.tensor
Subclasses of TensorBase in deepnetts.tensorModifier and TypeClassDescriptionclassOne dimensional tensor - a vector or an array.final classA 2D tensor / matrix with specified number of rows and columns..classA 3D tensor/matrix, with rows, columns and depth.classMethods in deepnetts.tensor that return TensorBaseModifier and TypeMethodDescriptionstatic TensorBaseReturns tensors with max value for each component of input tensors.static TensorBaseTensors.absMin(TensorBase t, TensorBase min) final TensorBaseTensorBase.add(float val) final TensorBaseTensorBase.add(TensorBase t) Adds specified tensor t to this tensor.final TensorBaseTensorBase.addInto(TensorBase t, TensorBase result) TensorBase.apply(ActivationFunction af) Tensor1D.copy()Tensor2D.copy()Tensor3D.copy()Tensor4D.copy()TensorBase.copy()TensorBase.multiply(float m) Multiplies all the values in tensor with a specified input parameter.TensorBase.sqr()TensorBase.sqrt()final TensorBaseTensorBase.sub(TensorBase t, TensorBase result) Methods in deepnetts.tensor with parameters of type TensorBaseModifier and TypeMethodDescriptionstatic TensorBaseTensors.absMin(TensorBase t, TensorBase min) final TensorBaseTensorBase.add(TensorBase t) Adds specified tensor t to this tensor.final TensorBaseTensorBase.addInto(TensorBase t, TensorBase result) final voidTensorBase.copyFrom(TensorBase src) Copies values from specified tensorfinal voidTensorBase.div(TensorBase t) Element-wise divison with specified tensor.booleanTensorBase.equals(TensorBase t2, float delta) voidTensorBase.multiplyElementWise(TensorBase tensor2) final voidTensorBase.sub(TensorBase t) Subtracts specified tensor t from this tensor.final TensorBaseTensorBase.sub(TensorBase t, TensorBase result) static final voidTensorBase.subInplace(TensorBase t1, TensorBase t2) Subtracts tensor t2 from t1.static StringTensorBase.valuesAsString(TensorBase[] tensors) Constructors in deepnetts.tensor with parameters of type TensorBaseModifierConstructorDescriptionprotectedPublic deep copy / clone constructor. -
Uses of TensorBase in deepnetts.util
Methods in deepnetts.util that return TensorBaseMethods in deepnetts.util with parameters of type TensorBase