Module: tfl.kronecker_factored_lattice_lib
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Algorithm implementations required for Kronecker-Factored Lattice layer.
Functions
assert_constraints(...)
: Asserts that weights satisfy constraints.
bias_initializer(...)
: Initializes bias depending on output_min and output_max.
custom_reduce_prod(...)
: tf.reduce_prod(t, axis) with faster custom gradient.
default_init_params(...)
: Returns default initialization bounds depending on layer output bounds.
evaluate_with_hypercube_interpolation(...)
: Evaluates a Kronecker-Factored Lattice using hypercube interpolation.
finalize_scale_constraints(...)
: Clips scale to strictly satisfy all constraints.
finalize_weight_constraints(...)
: Approximately projects weights to strictly satisfy all constraints.
kfl_random_monotonic_initializer(...)
: Returns a uniformly random sampled monotonic weight tensor.
scale_initializer(...)
: Initializes scale depending on output_min and output_max.
verify_hyperparameters(...)
: Verifies that all given hyperparameters are consistent.
Other Members |
absolute_import
|
Instance of __future__._Feature
|
division
|
Instance of __future__._Feature
|
print_function
|
Instance of __future__._Feature
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-02 UTC."],[],[]]