MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / constructor

Method constructor

custom-layer/custom_layer.js:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 */
34class Antirectifier extends tf.layers.Layer {
35 constructor() {
36 super({});
37 // TODO(bileschi): Can we point to documentation on masking here?
38 this.supportsMasking = true;
39 }
40
41 /**
42 * This layer only works on 4D Tensors [batch, height, width, channels],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected