Version: 0.0.10.0.20.0.30.0.40.0.50.0.60.0.70.1.00.1.10.1.20.2.00.3.00.4.00.4.10.5.00.5.10.5.20.5.30.5.40.6.00.6.10.6.20.6.30.6.40.6.50.6.60.6.70.7.00.7.10.7.20.7.30.7.40.7.50.8.00.8.10.8.20.8.30.8.40.8.50.9.00.9.10.9.20.10.00.10.10.10.20.10.31.0.0-alpha11.0.0-alpha21.0.0-alpha31.0.0-alpha41.0.0-alpha51.0.01.0.11.0.21.0.31.0.41.1.01.1.21.2.11.2.21.2.31.2.51.2.61.2.71.2.81.2.91.2.101.2.111.3.01.3.11.3.21.4.01.5.01.5.11.5.21.6.01.6.11.7.01.7.11.7.21.7.31.7.42.0.0-rc.12.0.0-rc.32.0.0-rc.42.0.02.0.12.1.02.2.02.3.02.4.02.5.02.6.02.7.02.8.02.8.12.8.22.8.32.8.42.8.52.8.63.0.0-rc.03.0.0-rc.13.0.03.1.03.2.03.3.03.4.03.5.03.6.03.7.03.8.03.9.03.10.03.11.03.12.03.13.03.14.03.15.03.16.03.17.03.18.03.19.03.20.03.21.04.0.04.1.04.2.04.3.04.4.04.5.04.6.04.7.04.8.04.9.04.10.04.11.04.12.0-rc.04.12.04.13.0-rc.04.13.04.14.0-rc.04.14.04.15.0-rc.04.15.04.16.0-rc.04.16.04.17.0-rc.04.17.04.18.0-rc.04.18.04.19.0-rc.04.19.04.20.0-rc.04.20.04.21.0-rc.04.21.04.22.0-rc.04.22.04.23.0-rc.0
/**
* @license
* Copyright 2018 Google LLC
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* =============================================================================
*/
/// <amd-module name="@tensorflow/tfjs-layers/dist/logs" />
import { Scalar } from '@tensorflow/tfjs-core';
* Logs in which values can be either numbers or Tensors (Scalars).
* Used internally.
export type UnresolvedLogs = {
[key: string]: number | Scalar;
};
* Turn any Scalar values in a Logs object into actual number values.
* @param logs The `Logs` object to be resolved in place.
export declare function resolveScalarsInLogs(logs: UnresolvedLogs): Promise<void>;
* Dispose all Tensors in an UnresolvedLogs object.
* @param logs An `UnresolvedLogs` object potentially containing `tf.Tensor`s in
* places where the values can be `tf.Tensor` or `number`.
export declare function disposeTensorsInLogs(logs: UnresolvedLogs): void;
* Logs in which values can only be numbers.
* Used when calling client-provided custom callbacks.
export type Logs = {
[key: string]: number;