keras_model_custom: (Deprecated) Create a Keras custom model

View source: R/model-custom.R

keras_model_customR Documentation

(Deprecated) Create a Keras custom model

Description

keras_model_custom() is soft-deprecated. Please define custom models by subclassing keras$Model directly using %py_class% or R6::R6Class(), or by calling new_model_class().

Usage

keras_model_custom(model_fn, name = NULL)

Arguments

model_fn

Function that returns an R custom model

name

Optional name for model

Value

A Keras model


keras documentation built on May 29, 2024, 3:20 a.m.