MCPcopy
hub / github.com/tensorflow/tfjs / build

Method build

tfjs-layers/src/layers/wrappers.ts:497–505  ·  view source on GitHub ↗
(inputShape: Shape|Shape[])

Source from the content-addressed store, hash-verified

495 }
496
497 override build(inputShape: Shape|Shape[]): void {
498 nameScope(this.forwardLayer.name, () => {
499 this.forwardLayer.build(inputShape);
500 });
501 nameScope(this.backwardLayer.name, () => {
502 this.backwardLayer.build(inputShape);
503 });
504 this.built = true;
505 }
506
507 override computeMask(inputs: Tensor|Tensor[], mask?: Tensor|Tensor[]): Tensor
508 |Tensor[] {

Callers 1

buildMethod · 0.45

Calls 1

nameScopeFunction · 0.90

Tested by

no test coverage detected