Liking cljdoc? Tell your friends :D

clj-djl.training


accuracyclj

(accuracy)
source

add-accumulatorclj

(add-accumulator acc key)

Adds an accumulator to the accuracy for the results of the evaluation with the given key.

Adds an accumulator to the accuracy for the results of the evaluation with the
given key.
sourceraw docstring

add-evaluatorclj

(add-evaluator config evaluator)
source

add-training-listenersclj

(add-training-listeners config listener)
source

as-consumercljmacro

(as-consumer f)
source

backwardclj

(backward gc target)
source

binary-accuracyclj

(binary-accuracy)
(binary-accuracy threshold)
(binary-accuracy acc-name threshold)
(binary-accuracy acc-name threshold axis)
source

closeclj

(close batch)
source

configclj

(config {:keys [loss devices data-manager initializer parameter optimizer
                evaluator listeners]})
source

default-training-configclj

source

fitclj

(fit trainer nepochs train-iter)
(fit trainer nepochs train-iter test-iter)
source

forwardclj

(forward trainer input)
source

get-accumulatorclj

(get-accumulator acc key)

Returns the accumulated evaluator value.

Returns the accumulated evaluator value.
sourceraw docstring

get-devicesclj

(get-devices config)
source

get-evaluatorsclj

(get-evaluators trainer)
source

get-gradientclj

(get-gradient ndarray)

Returns the gradient NDArray attached to this NDArray.

Returns the gradient NDArray attached to this NDArray.
sourceraw docstring

get-lossclj

(get-loss trainer)
source

get-managerclj

(get-manager trainer)
source

get-metricsclj

(get-metrics trainer)

Get metrics from trainer, put the metrics to seq of map: [{"train_progress_Accuracy" {:timestamp 1607859588747 :value 0.68125 :unit "count"}}]

Get metrics from trainer, put the metrics to seq of map:
[{"train_progress_Accuracy" {:timestamp 1607859588747 :value 0.68125 :unit "count"}}]
sourceraw docstring

get-modelclj

(get-model trainer)
source

get-resultclj

(get-result trainer)
source

get-training-resultclj

source

gradient-collectorclj

(gradient-collector)
(gradient-collector trainer)
source

initializeclj

(initialize trainer shapes)
(initialize trainer shape & shapes)
source

iter-seqclj

(iter-seq iterable)
(iter-seq iterable iter)
source

iterate-datasetclj

(iterate-dataset trainer ds)
source

metricsclj

(metrics)
source

new-accuracyclj

source

new-binary-accuracyclj

source

new-default-training-configclj

(new-default-training-config loss)
source

new-default-training-listenersclj

source

new-gradient-collectorclj

source

new-progress-barclj

source

new-topk-accuracyclj

source

new-trainerclj

source

new-training-configclj

source

notify-listenersclj

(notify-listeners trainer callback)
source

opt-initializerclj

(opt-initializer config initializer parameter)
source

opt-optimizerclj

(opt-optimizer config optimizer)
source

parameter-storeclj

(parameter-store manager copy)
source

progress-barclj

(progress-bar)
source

set-metricsclj

(set-metrics trainer metrics)
source

set-requires-gradientclj

(set-requires-gradient ndarray requires-grad)
source

softmax-cross-entropy-lossclj

(softmax-cross-entropy-loss)
source

stepclj

(step trainer)
source

stop-gradientclj

(stop-gradient ndarray)
source

topk-accuracyclj

(topk-accuracy topk)
(topk-accuracy index topk)
(topk-accuracy name index topk)
source

train-batchclj

(train-batch trainer batch)
source

trainerclj

(trainer {:keys [model loss devices data-manager initializer parameter optimizer
                 listeners]})
(trainer model config)
source

training-configclj

source

training-listenersclj

(training-listeners)
source

update-accumulatorclj

(update-accumulator acc key label-list pred-list)

Updates the accuracy with the given key based on a NDList of labels and predictions.

Updates the accuracy with the given key based on a NDList of labels and
predictions.
sourceraw docstring

validate-batchclj

(validate-batch trainer batch)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close