build

open override fun build(tf: Ops, kGraph: KGraph, inputShape: Shape)

Extend this function to define variables in layer.

Parameters

tf

TensorFlow graph API for building operations.

kGraph

KGraph to update it.

inputShape

Input shape, result of computeOutputShape call from previous layer.

fun build(tf: Ops)

Extend this function to define placeholder in layer.

NOTE: Called instead of Layer.build.

Parameters

tf

TensorFlow graph API for building operations.