Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- sampleRows(Tensor, int, Random) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sampleRows(Tensor, int, Random) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sampleRows(Tensor, int, Random) - Static method in class io.github.kirstenali.deepj.tensor.Tensor
- sampleRows(Tensor, int, Random) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
-
Sample random rows from t.
- save(Path) - Method in interface io.github.kirstenali.deepj.persistence.Persistable
- save(List<Parameter>, Path) - Static method in class io.github.kirstenali.deepj.persistence.ModelSerializer
- scatterAddRows(Tensor, int[], Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- scatterAddRows(Tensor, int[], Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- scatterAddRows(Tensor, int[], Tensor) - Static method in class io.github.kirstenali.deepj.tensor.Tensor
- scatterAddRows(Tensor, int[], Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
-
Scatter-add: target.data[indices[i]] += grad.data[i] (for embedding backward).
- seed(long) - Method in class io.github.kirstenali.deepj.transformer.TransformerBuilder
- seqLen() - Method in class io.github.kirstenali.deepj.data.TextDataset
- set(int, int, double) - Method in class io.github.kirstenali.deepj.tensor.Tensor
- set(Tensor, int, int, double) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- set(Tensor, int, int, double) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- set(Tensor, int, int, double) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- setBackend(TensorBackend) - Static method in class io.github.kirstenali.deepj.tensor.Tensor
- setChatService(ChatService) - Method in class io.github.kirstenali.deepj.chatui.ChatController
- setGpuTag(Object) - Method in class io.github.kirstenali.deepj.tensor.Tensor
-
Set the GPU handle (used by GPU backends).
- setNumThreads(int) - Static method in class io.github.kirstenali.deepj.concurrent.DeepJExecutor
- setParallelEnabled(boolean) - Static method in class io.github.kirstenali.deepj.concurrent.DeepJExecutor
- setRow(int, Tensor, int) - Method in class io.github.kirstenali.deepj.tensor.Tensor
- setRow(Tensor, int, Tensor, int) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- setRow(Tensor, int, Tensor, int) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- setRow(Tensor, int, Tensor, int) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- shutdown() - Static method in class io.github.kirstenali.deepj.concurrent.DeepJExecutor
-
Clean shutdown (good for CLI apps/tests).
- sigmoid(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sigmoid(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sigmoid(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- Sigmoid - Class in io.github.kirstenali.deepj.activations
- Sigmoid() - Constructor for class io.github.kirstenali.deepj.activations.Sigmoid
- sigmoidActivation() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sigmoidInPlace() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sigmoidInPlace(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sigmoidInPlace(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- size() - Method in class io.github.kirstenali.deepj.data.TextDataset
- sliceRows(Tensor, int[], int) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sliceRows(Tensor, int[], int) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sliceRows(Tensor, int[], int) - Static method in class io.github.kirstenali.deepj.tensor.Tensor
- sliceRows(Tensor, int[], int) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
-
Gather rows by index (for embedding lookup).
- Softmax - Class in io.github.kirstenali.deepj.activations
-
Row-wise softmax for 2D tensors: applies softmax independently to each row.
- Softmax() - Constructor for class io.github.kirstenali.deepj.activations.Softmax
- softmaxBackward(Tensor) - Method in class io.github.kirstenali.deepj.tensor.Tensor
- softmaxBackward(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- softmaxBackward(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- softmaxBackward(Tensor, Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- softmaxRows() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- softmaxRows(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- softmaxRows(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- softmaxRows(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sqrt() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sqrt(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sqrt(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sqrt(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sqrtInPlace() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sqrtInPlace(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sqrtInPlace(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- start(Stage) - Method in class io.github.kirstenali.deepj.chatui.BaseChatApp
- step(List<Parameter>) - Method in class io.github.kirstenali.deepj.optimisers.AdamW
- step(List<Parameter>) - Method in interface io.github.kirstenali.deepj.optimisers.ParameterOptimizer
-
Update the provided parameters (one optimizer step).
- steps() - Method in record class io.github.kirstenali.deepj.training.TrainingResult
-
Returns the value of the
stepsrecord component. - subtract(Tensor) - Method in class io.github.kirstenali.deepj.tensor.Tensor
- subtract(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- subtract(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- subtract(Tensor, Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- subtractBroadcastCols(Tensor) - Method in class io.github.kirstenali.deepj.tensor.Tensor
- subtractBroadcastCols(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- subtractBroadcastCols(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- subtractBroadcastCols(Tensor, Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- subtractInPlace(Tensor) - Method in class io.github.kirstenali.deepj.tensor.Tensor
- subtractInPlace(Tensor, Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- subtractInPlace(Tensor, Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sum() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sum(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sum(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sum(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sumAbs() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sumAbs(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sumAbs(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sumAbs(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sumAlongCols() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sumAlongCols(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sumAlongCols(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sumAlongCols(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sumAlongRows() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sumAlongRows(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sumAlongRows(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sumAlongRows(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- sumRows() - Method in class io.github.kirstenali.deepj.tensor.Tensor
- sumRows(Tensor) - Method in class io.github.kirstenali.deepj.tensor.cpu.CpuBackend
- sumRows(Tensor) - Method in class io.github.kirstenali.deepj.tensor.metal.MetalBackend
- sumRows(Tensor) - Method in interface io.github.kirstenali.deepj.tensor.TensorBackend
- SupervisedTraining - Class in io.github.kirstenali.deepj.training
-
Helpers to train classic Tensor->Tensor supervised models (e.g., FNN) using the unified Trainer wrapper.
All Classes and Interfaces|All Packages|Constant Field Values