create_initializer: Create truncated normal initializer

View source: R/modeling.R

create_initializerR Documentation

Create truncated normal initializer

Description

This is a wrapper around the tensorflow truncated_normal_initializer function.

Usage

create_initializer(initializer_range = 0.02)

Arguments

initializer_range

A double describing the range for the initializer (passed to the stddev parameter).

Value

A tensorflow initializer.

Examples

## Not run: 
create_initializer(0.02)

## End(Not run)

jonathanbratt/RBERT documentation built on Jan. 26, 2023, 4:15 p.m.