MCPcopy Create free account
hub / github.com/tensorflow/tfjs / l2

Function l2

tfjs-layers/src/regularizers.ts:105–108  ·  view source on GitHub ↗
(args: L2Args)

Source from the content-addressed store, hash-verified

103}
104
105export function l2(args: L2Args) {
106 assertObjectArgs(args);
107 return new L1L2({l2: args != null ? args.l2 : null, l1: 0});
108}
109
110/** @docinline */
111export type RegularizerIdentifier = 'l1l2'|string;

Callers

nothing calls this directly

Calls 1

assertObjectArgsFunction · 0.85

Tested by

no test coverage detected