model_decode: Decode Output of Any Layer

Description Usage Arguments Value

View source: R/5-get.R

Description

This function returns the output of any one layer based on the input of any other layer. Use this function to decode the latent space of an autoencoder.

Usage

1
model_decode(model, data, input_at, output_at)

Arguments

model

A keras model.

data

A matrix or list of matrices. The input data. See get_layer_output.

input_at

The layer name or index. From where the input data has come.

output_at

The layer name or index. From where the output data should come.

Value

An R array.


tpq/caress documentation built on March 11, 2021, 8:03 p.m.