MCPcopy Create free account

hub / github.com/keras-team/keras / functions

Functions12,633 in github.com/keras-team/keras

↓ 4 callersFunctionnp_avgpool2d
(x, pool_size, strides, padding, data_format)
keras/src/layers/pooling/average_pooling_test.py:52
↓ 4 callersMethodnp_cosine_decay
(self, step, decay_steps, alpha=0.0)
keras/src/optimizers/schedules/learning_rate_schedule_test.py:302
↓ 4 callersFunctionnp_depthwise_conv2d
( x, kernel_weights, bias_weights, strides, padding, data_format, dilation_rate, )
keras/src/layers/convolutional/depthwise_conv_test.py:89
↓ 4 callersMethodon_epoch_begin
(self, epoch, logs=None)
keras/src/callbacks/callback_list.py:160
↓ 4 callersMethodon_epoch_end
(self, epoch, logs=None)
keras/src/callbacks/callback_list.py:165
↓ 4 callersMethodon_train_batch_begin
(self, batch, logs=None)
keras/src/callbacks/callback_list.py:173
↓ 4 callersMethodon_train_begin
(self, logs=None)
keras/src/callbacks/callback_list.py:232
↓ 4 callersMethodon_train_end
(self, logs=None)
keras/src/callbacks/callback_list.py:239
↓ 4 callersMethodpredict_on_batch
Returns predictions for a single batch of samples. Args: x: Input data. It must be array-like. Returns: NumP
keras/src/trainers/trainer.py:934
↓ 4 callersMethodquantized_call
(self, *args, **kwargs)
keras/src/layers/layer.py:1301
↓ 4 callersMethodresolve_path
(path, object)
keras/src/trainers/compile_utils.py:702
↓ 4 callersMethodresult
(self)
keras/src/metrics/metric_test.py:35
↓ 4 callersMethodresult
(self)
keras/src/metrics/reduction_metrics.py:92
↓ 4 callersMethodscale_loss
Scale the loss before computing gradients. Scales the loss before gradients are computed in a `train_step`. This is primarily useful
keras/src/optimizers/base_optimizer.py:699
↓ 4 callersFunctionserialize_keras_object
Retrieve the config dict by serializing the Keras object. `serialize_keras_object()` serializes a Keras object to a python dictionary that re
keras/src/saving/serialization_lib.py:157
↓ 4 callersFunctionstandardize_padding
(value, allow_causal=False)
keras/src/utils/argument_validation.py:56
↓ 4 callersMethodstateless_result
(self, metric_variables)
keras/src/metrics/metric.py:154
↓ 4 callersMethodtearDown
(self)
keras/src/ops/image_test.py:2009
↓ 4 callersFunctionto_tensorflow_sparse_wrapper
(sparse)
keras/src/trainers/data_adapters/array_slicing.py:293
↓ 4 callersMethodtrack_and_add_endpoint
Track the variables and register a new serving endpoint. This function combines the functionality of `track` and `add_endpoint`. It t
keras/src/export/saved_model.py:370
↓ 4 callersFunctiontrain_loop
(model, train_loader, num_epochs, optimizer, loss_fn, framework)
benchmarks/torch_ctl_benchmark/benchmark_utils.py:7
↓ 4 callersMethodtree_unflatten
(cls, metadata, children)
keras/src/utils/tracking.py:332
↓ 4 callersMethodupdate_state
(self, y_true, y_pred)
keras/src/metrics/metric_test.py:27
↓ 4 callersMethodupdate_state
(self, y_true, y_pred, sample_weight=None)
keras/src/trainers/compile_utils.py:19
↓ 4 callersMethodvalue
(self)
keras/src/backend/torch/core.py:138
↓ 4 callersMethodvocabulary_size
Gets the current size of the layer's vocabulary. Returns: The integer size of the vocabulary, including optional mask and oov
keras/src/layers/preprocessing/index_lookup.py:320
↓ 3 callersFunctionDenseNet
Instantiates the DenseNet architecture. Reference: - [Densely Connected Convolutional Networks]( https://arxiv.org/abs/1608.06993) (C
keras/src/applications/densenet.py:107
↓ 3 callersFunctionResNet
Instantiates the ResNet, ResNetV2, and ResNeXt architecture. Args: stack_fn: A function that returns output tensor for the st
keras/src/applications/resnet.py:48
↓ 3 callersMethod__enter__
(self)
keras/src/backend/tensorflow/core.py:673
↓ 3 callersMethod__eq__
(self, other)
keras/src/dtype_policies/dtype_policy.py:190
↓ 3 callersMethod__init__
(self, **kwargs)
guides/understanding_masking_and_padding.py:174
↓ 3 callersMethod__init__
(self, regularization_factor=0.1, name="custom_mse")
guides/training_with_built_in_methods.py:281
↓ 3 callersMethod__init__
(self, config, exclusions=None)
keras/src/utils/tracking.py:63
↓ 3 callersMethod__init__
(self, factor, interpolation="bilinear", seed=None, **kwargs)
keras/src/legacy/layers.py:144
↓ 3 callersMethod__init__
(self, n, batch_size, shuffle, seed, **kwargs)
keras/src/legacy/preprocessing/image.py:39
↓ 3 callersMethod__init__
(self, rate, seed=None, name=None, dtype=None)
keras/src/layers/regularization/spatial_dropout.py:62
↓ 3 callersMethod__init__
(self, output_dtype="int8")
keras/src/quantizers/quantizers.py:19
↓ 3 callersMethod__init__
(self, vocab_size, **kwargs)
keras/src/quantizers/gptq_core_test.py:74
↓ 3 callersMethod__setattr__
Support self.foo = trackable syntax.
keras/src/backend/tensorflow/trackable.py:15
↓ 3 callersMethod__sklearn_tags__
(self)
keras/src/wrappers/sklearn_wrapper.py:90
↓ 3 callersMethod_adjust_scale_for_quant
Adjusts scale tensor layout after quantization. Helper method to handle scale adjustments after re-quantization. This is the forward
keras/src/layers/core/einsum_dense.py:1123
↓ 3 callersFunction_apply_same_padding
Apply same padding to the input tensor. This function will evaluate if the padding value is compatible with torch functions. To avoid calling
keras/src/backend/torch/nn.py:237
↓ 3 callersMethod_build
(self, y_true_shape, y_pred_shape)
keras/src/metrics/f_score_metrics.py:122
↓ 3 callersMethod_check_reloading_weights
(self, ref_input, model, tf_keras_model)
keras/src/legacy/saving/legacy_h5_format_test.py:82
↓ 3 callersMethod_check_super_called
(self)
keras/src/optimizers/base_optimizer.py:969
↓ 3 callersFunction_convert_conv_transpose_padding_args_from_keras_to_jax
Convert the padding arguments from Keras to the ones used by JAX. JAX starts with an shape of size `(input-1) * stride - kernel_size + 2`, the
keras/src/backend/common/backend_utils.py:7
↓ 3 callersFunction_convert_to_lax_conv_dimension_numbers
Create a `lax.ConvDimensionNumbers` for the given inputs.
keras/src/backend/jax/nn.py:292
↓ 3 callersFunction_convert_to_lax_conv_dimension_numbers
Create a `lax.ConvDimensionNumbers` for the given inputs.
keras/src/backend/numpy/nn.py:343
↓ 3 callersFunction_create_grouped_axes
(axes)
keras/src/ops/einops.py:37
↓ 3 callersMethod_create_jax_layout
(self, sharding)
keras/src/backend/jax/distribution_lib_test.py:36
↓ 3 callersMethod_deferred_initialize
(self)
keras/src/backend/common/variables.py:212
↓ 3 callersFunction_distribute_data
(data, layouts=None)
keras/src/backend/jax/trainer.py:969
↓ 3 callersMethod_encode
(self, inputs, count_weights=None)
keras/src/layers/preprocessing/category_encoding.py:117
↓ 3 callersMethod_filter_and_track_resources
Track resources used by endpoints / referenced in `track()` calls.
keras/src/export/saved_model.py:570
↓ 3 callersMethod_finalize_progbar
(self, logs)
keras/src/callbacks/progbar_logger.py:97
↓ 3 callersFunction_get_complex_tensor_from_tuple
(x)
keras/src/backend/numpy/math.py:107
↓ 3 callersFunction_get_dim
(x)
keras/src/backend/tensorflow/core.py:419
↓ 3 callersMethod_get_iterator
(self)
keras/src/trainers/data_adapters/py_dataset_adapter.py:280
↓ 3 callersFunction_get_logits
Retrieves logits tensor from maybe-softmax or maybe-sigmoid tensor.
keras/src/backend/tensorflow/nn.py:578
↓ 3 callersMethod_get_state_sharding_spec
(self)
keras/src/backend/jax/trainer.py:891
↓ 3 callersFunction_get_subclassed_model
(compile=True)
keras/src/saving/saving_lib_test.py:165
↓ 3 callersFunction_istft
( x, sequence_length, sequence_stride, fft_length, length=None, window="hann", cen
keras/src/ops/math_test.py:57
↓ 3 callersFunction_legacy_weights
Legacy weight order converter. For legacy reason, the layer.weights was in the order of [self.trainable_weights + self.non_trainable_weights]
keras/src/legacy/saving/legacy_h5_format.py:648
↓ 3 callersFunction_list_variables_used_by_fns
(fns)
keras/src/export/saved_model.py:668
↓ 3 callersMethod_make_function
(self, step_function, concatenate_outputs=False)
keras/src/backend/jax/trainer.py:210
↓ 3 callersMethod_maybe_autocast
(self, value)
keras/src/backend/common/variables.py:241
↓ 3 callersMethod_maybe_rebuild
(self)
keras/src/models/sequential.py:144
↓ 3 callersFunction_mro_matches
(dataset, class_names, module_prefixes)
keras/src/utils/dataset_utils.py:483
↓ 3 callersMethod_on_begin
Called by `on_train/test/predict_begin`. Start the executor for async calls if needed.
keras/src/callbacks/callback_list.py:114
↓ 3 callersMethod_on_end
Called by `on_train/test/predict_end`. Shutdown the executor for async calls if all begin/end blocks completed.
keras/src/callbacks/callback_list.py:127
↓ 3 callersMethod_post_build
Can be overridden for per backend post build actions.
keras/src/ops/operation.py:388
↓ 3 callersFunction_raise_loading_failure
(error_msgs, warn_only=False)
keras/src/saving/saving_lib.py:698
↓ 3 callersMethod_reset_progbar
(self)
keras/src/callbacks/progbar_logger.py:78
↓ 3 callersFunction_same_padding
(input_size, kernel_size, stride)
keras/src/layers/convolutional/conv_test.py:17
↓ 3 callersFunction_same_padding
(input_size, pool_size, stride)
keras/src/layers/pooling/max_pooling_test.py:10
↓ 3 callersFunction_same_padding
(input_size, pool_size, stride)
keras/src/layers/pooling/average_pooling_test.py:11
↓ 3 callersMethod_set_index_array
(self)
keras/src/legacy/preprocessing/image.py:51
↓ 3 callersFunction_shared_object_saving_scope
Get the current shared object saving scope in a threadsafe manner.
keras/src/legacy/saving/serialization.py:46
↓ 3 callersMethod_should_eval
(self, epoch, validation_freq)
keras/src/trainers/trainer.py:986
↓ 3 callersMethod_should_torch_compile
(self)
keras/src/backend/torch/trainer.py:26
↓ 3 callersMethod_should_use_adamw
(self, variable)
keras/src/optimizers/muon.py:131
↓ 3 callersMethod_test_file_extraction_and_validation
Helper function for file extraction and validation.
keras/src/utils/file_utils_test.py:500
↓ 3 callersMethod_track_variable
(self, variable)
keras/src/layers/layer.py:1419
↓ 3 callersFunction_tree_is_leaf
(tree, is_leaf=None)
keras/src/tree/torchtree_impl.py:17
↓ 3 callersMethod_update_progbar
Updates the progbar.
keras/src/callbacks/progbar_logger.py:88
↓ 3 callersMethod_use_weight_decay
(self, variable)
keras/src/optimizers/base_optimizer.py:931
↓ 3 callersFunction_validate_data
Validate the input data. wrapper for sklearn.utils.validation.validate_data or BaseEstimator._validate_data depending on the scikit-learn ver
keras/src/wrappers/fixes.py:7
↓ 3 callersMethod_variables_to_params_and_state
(self, variables)
keras/src/utils/jax_layer.py:636
↓ 3 callersMethod_warn_if_super_not_called
(self)
keras/src/trainers/data_adapters/py_dataset_adapter.py:98
↓ 3 callersFunctionabs
Shorthand for `keras.ops.absolute`.
keras/src/ops/numpy.py:183
↓ 3 callersMethodactivation
(self)
keras/src/layers/rnn/lstm.py:592
↓ 3 callersMethodadapt
Computes a vocabulary of string terms from tokens in a dataset. Calling `adapt()` on a `TextVectorization` layer is an alternative to
keras/src/layers/preprocessing/text_vectorization.py:387
↓ 3 callersMethodadd_variable
Add a weight variable to the layer. Alias of `add_weight()`.
keras/src/layers/layer.py:488
↓ 3 callersMethodadd_variable
Add a variable to the optimizer. Args: shape: Shape tuple for the variable. Must be fully-defined (no `None` entr
keras/src/optimizers/base_optimizer.py:241
↓ 3 callersFunctionall
(x, axis=None, keepdims=False)
keras/src/backend/torch/numpy.py:256
↓ 3 callersFunctionall
(x, axis=None, keepdims=False)
keras/src/backend/numpy/numpy.py:136
↓ 3 callersFunctionany
(x, axis=None, keepdims=False)
keras/src/backend/jax/numpy.py:292
↓ 3 callersMethodapply_transform
Applies a transformation to an image according to given parameters. Args: x: 3D tensor, single image. transform_param
keras/src/legacy/preprocessing/image.py:1383
↓ 3 callersMethodassertSameSparseness
(self, x, y)
keras/src/ops/numpy_test.py:5645
↓ 3 callersMethodassert_models_equal
(self, model1, model2, ref_input)
keras/src/models/cloning_test.py:88
← previousnext →501–600 of 12,633, ranked by callers