MCPcopy Create free account

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

Functions14,520 in github.com/keras-team/keras

↓ 5 callersMethodtearDown
(self)
keras/src/ops/image_test.py:2218
↓ 5 callersMethodto_tensor
(v)
keras/src/utils/dataset_utils_test.py:19
↓ 5 callersMethodupdate_state
(self, values, sample_weight=None)
keras/src/metrics/reduction_metrics.py:83
↓ 5 callersMethodupdate_state
(self, values, sample_weight=None)
keras/src/metrics/reduction_metrics.py:138
↓ 5 callersFunctionvariable
DEPRECATED.
keras/src/legacy/backend.py:2251
↓ 5 callersMethodvisited
(self)
keras/src/tree/tree_test.py:70
↓ 4 callersMethod__init__
(self, config, exclusions=None)
keras/src/utils/tracking.py:64
↓ 4 callersMethod__init__
(self, device_mesh)
keras/src/distribution/distribution_lib.py:814
↓ 4 callersMethod__init__
(self, **kwargs)
keras/src/legacy/saving/legacy_h5_format_test.py:53
↓ 4 callersMethod__init__
(self, *args, **kwargs)
keras/src/backend/tensorflow/saved_model_test.py:23
↓ 4 callersMethod__init__
(self, name="poisson", dtype=None)
keras/src/metrics/probabilistic_metrics.py:94
↓ 4 callersMethod__init__
(self, name=None)
keras/src/dtype_policies/dtype_policy.py:60
↓ 4 callersMethod__setattr__
Support self.foo = trackable syntax.
keras/src/backend/tensorflow/trackable.py:15
↓ 4 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:1564
↓ 4 callersFunction_adjust_strides_dilation
( x, num_spatial_dims, )
keras/src/backend/openvino/nn.py:550
↓ 4 callersFunction_assert_1d
(*arrays)
keras/src/ops/linalg.py:781
↓ 4 callersFunction_assert_a_b_compat
(a, b)
keras/src/ops/linalg.py:808
↓ 4 callersMethod_async_dispatch
(self, fn, *args)
keras/src/callbacks/callback_list.py:141
↓ 4 callersMethod_calculate_score_mask
(self, scores, v_mask, use_causal_mask)
keras/src/layers/attention/attention.py:191
↓ 4 callersMethod_check_load_own_variables
(self, store)
keras/src/layers/convolutional/base_conv.py:391
↓ 4 callersFunction_compute_split_output_spec
(x, indices_or_sections, axis)
keras/src/ops/numpy.py:7673
↓ 4 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:8
↓ 4 callersFunction_depth
(v, divisor=8, min_value=None)
keras/src/applications/mobilenet_v3.py:561
↓ 4 callersMethod_edit_object
(self, edit_fn, source_name, target_name=None)
keras/src/saving/file_editor.py:252
↓ 4 callersMethod_find_max_under_constraint
Returns the maximum of dependent_statistic that satisfies the constraint. Args: constrained: Over these values the constr
keras/src/metrics/confusion_metrics.py:650
↓ 4 callersFunction_fixed_map_coordinates
( input, coordinates, order, fill_mode="constant", fill_value=0.0 )
keras/src/ops/image_test.py:666
↓ 4 callersMethod_flush_futures
Waits for all futures to complete and clears the list.
keras/src/callbacks/callback_list.py:149
↓ 4 callersMethod_full_path
Resolve `path` under the working dir, rejecting traversal.
keras/src/saving/saving_lib.py:1136
↓ 4 callersFunction_get_complex_tensor_from_tuple
(x)
keras/src/backend/tensorflow/math.py:102
↓ 4 callersMethod_get_data
(self)
keras/src/metrics/correlation_metrics_test.py:11
↓ 4 callersMethod_get_h5_file
(self, path_or_io, mode=None)
keras/src/saving/saving_lib.py:1340
↓ 4 callersFunction_get_model_multi_outputs_dict
()
keras/src/models/model_test.py:67
↓ 4 callersFunction_get_quantized_dtype_policy_by_str
(policy)
keras/src/dtype_policies/dtype_policy.py:586
↓ 4 callersFunction_get_raw_value
(variable)
keras/src/backend/jax/core.py:106
↓ 4 callersMethod_initialize
(self, value)
keras/src/backend/common/variables.py:413
↓ 4 callersFunction_istft
( x, sequence_length, sequence_stride, fft_length, length=None, window="hann", cen
keras/src/ops/math_test.py:59
↓ 4 callersMethod_make_distribution
(self, dist_type)
keras/src/backend/jax/trainer_test.py:20
↓ 4 callersMethod_maybe_init_progbar
(self)
keras/src/callbacks/progbar_logger.py:82
↓ 4 callersMethod_maybe_symbolic_build
(self, iterator=None, data_batch=None)
keras/src/backend/tensorflow/trainer.py:713
↓ 4 callersMethod_oov_start_index
(self)
keras/src/layers/preprocessing/index_lookup.py:1004
↓ 4 callersFunction_pair
(x)
keras/src/backend/jax/nn.py:1887
↓ 4 callersMethod_pop_writer
Pops the current writer.
keras/src/callbacks/tensorboard.py:329
↓ 4 callersMethod_push_writer
Sets the default writer for custom batch-level summaries.
keras/src/callbacks/tensorboard.py:313
↓ 4 callersFunction_resolve_num_segments
(segment_ids, num_segments)
keras/src/backend/openvino/math.py:15
↓ 4 callersMethod_run_layer_test
Helper: test layer output shape matches compute_output_shape().
keras/src/layers/pooling/adaptive_pooling1d_test.py:10
↓ 4 callersFunction_segment_reduction_fn
(data, segment_ids, reduction_method, num_segments)
keras/src/backend/torch/math.py:11
↓ 4 callersFunction_segment_reduction_fn
( data, segment_ids, reduction_method, num_segments, sorted )
keras/src/backend/numpy/math.py:11
↓ 4 callersFunction_set_raw_value
(variable, value)
keras/src/backend/jax/core.py:109
↓ 4 callersFunction_stft
( x, sequence_length, sequence_stride, fft_length, window="hann", center=True )
keras/src/ops/math_test.py:19
↓ 4 callersMethod_track_variables
(self)
keras/src/backend/torch/layer.py:21
↓ 4 callersMethod_untrack_variable
(self, variable)
keras/src/layers/layer.py:1505
↓ 4 callersFunction_upcast_type_if_needed
(x)
keras/src/backend/openvino/numpy.py:347
↓ 4 callersMethod_use_weight_decay
(self, variable)
keras/src/optimizers/base_optimizer.py:923
↓ 4 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:9
↓ 4 callersMethodadapt
Computes a vocabulary of terms from tokens in a dataset. Calling `adapt()` on a `StringLookup` layer is an alternative to passing in
keras/src/layers/preprocessing/string_lookup.py:349
↓ 4 callersMethodadapt
Computes a vocabulary of integer terms from tokens in a dataset. Calling `adapt()` on an `IntegerLookup` layer is an alternative to p
keras/src/layers/preprocessing/integer_lookup.py:400
↓ 4 callersFunctionall
(x, axis=None, keepdims=False)
keras/src/backend/jax/numpy.py:296
↓ 4 callersFunctionall
(x, axis=None, keepdims=False)
keras/src/backend/tensorflow/numpy.py:792
↓ 4 callersFunctionany
(x, axis=None, keepdims=False)
keras/src/backend/torch/numpy.py:287
↓ 4 callersMethodassertSparseness
(self, x, expected_sparseness)
keras/src/ops/numpy_test.py:8168
↓ 4 callersMethodassert_models_equal
(self, model1, model2, ref_input)
keras/src/models/cloning_test.py:107
↓ 4 callersFunctionawq_search_optimal_scales
Search for optimal AWQ scales using grid search. The AWQ algorithm finds scaling factors that protect salient weights. For each channel, we s
keras/src/quantizers/awq.py:21
↓ 4 callersFunctionblock
An inverted residual block. Args: inputs: input tensor. activation: activation function. drop_rate: float between 0 and 1
keras/src/applications/efficientnet.py:444
↓ 4 callersMethodbuild
( self, query_shape, value_shape, key_shape=None, )
keras/src/layers/attention/grouped_query_attention.py:164
↓ 4 callersMethodbuild
(self, input_shape)
keras/src/layers/core/dense_test.py:383
↓ 4 callersFunctioncast
(x, dtype)
keras/src/backend/numpy/core.py:74
↓ 4 callersFunctioncheck_pydot
Returns True if PyDot is available.
keras/src/utils/model_visualization.py:24
↓ 4 callersFunctionclass_weight_to_sample_weights
(y, class_weight)
keras/src/trainers/data_adapters/data_adapter_utils.py:120
↓ 4 callersMethodclose
(self)
keras/src/saving/saving_lib.py:1894
↓ 4 callersFunctioncompute_conv_output_shape
Compute the output shape of conv ops.
keras/src/ops/operation_utils.py:171
↓ 4 callersMethodcompute_output_shape
( self, query_shape, value_shape, key_shape=None, )
keras/src/layers/attention/multi_head_attention.py:827
↓ 4 callersMethodcompute_output_shape
(self, input_shape)
keras/src/layers/preprocessing/discretization.py:226
↓ 4 callersMethodcompute_output_shape
(self, sequences_shape, initial_state_shape=None)
keras/src/layers/rnn/rnn.py:234
↓ 4 callersMethodcompute_output_spec
(self, x)
keras/src/ops/math.py:492
↓ 4 callersMethodcompute_output_spec
(self, x)
keras/src/ops/math.py:707
↓ 4 callersFunctionconcat
Concats `tensor`s along `axis`.
keras/src/backend/tensorflow/trainer.py:899
↓ 4 callersMethodconvert_format
( self, boxes, source, target, height=None, width=None,
keras/src/layers/preprocessing/image_preprocessing/bounding_boxes/bounding_box.py:22
↓ 4 callersFunctionconvert_to_tensor
Convert a NumPy array or Python array to a tensor. Native tensors for the current backend or left unchanged unless the `dtype`, `sparse` or `
keras/src/ops/core.py:1020
↓ 4 callersFunctioncreate_indexed_slices
(x, indices_from=None, start=0, delta=2)
keras/src/ops/numpy_test.py:7927
↓ 4 callersFunctioncreate_sparse_tensor
(x, indices_from=None, start=0, delta=2)
keras/src/ops/numpy_test.py:7907
↓ 4 callersFunctioncudnn_ok
( activation, recurrent_activation, unroll, use_bias=True, )
keras/src/backend/torch/rnn.py:522
↓ 4 callersFunctiondeserialize
Deserializes a serialized `DTypePolicy` instance. Args: config: `DTypePolicy` configuration. custom_objects: Optional dictionary
keras/src/dtype_policies/__init__.py:43
↓ 4 callersMethoddtype_policy
(self)
keras/src/layers/layer.py:793
↓ 4 callersMethodenable_lora
( self, rank, lora_alpha=None, a_initializer="he_uniform", b_initializ
keras/src/layers/convolutional/base_conv.py:280
↓ 4 callersMethodevaluate
( self, x=None, y=None, batch_size=None, verbose="auto", sampl
keras/src/backend/jax/trainer.py:550
↓ 4 callersMethodfill_in
Maps KerasTensors to computed values using `tensor_dict`. `tensor_dict` maps `KerasTensor` instances to their current values.
keras/src/ops/symbolic_arguments.py:31
↓ 4 callersMethodfinalize_variable_values
Set the final value of model's trainable variables. Sometimes there are some extra steps before ending the variable updates, such as
keras/src/optimizers/base_optimizer.py:1008
↓ 4 callersMethodfit
( self, x=None, y=None, batch_size=None, epochs=1, verbose="au
keras/src/backend/tensorflow/trainer.py:315
↓ 4 callersMethodfloat
(cls, name=None)
keras/src/layers/preprocessing/feature_space.py:289
↓ 4 callersMethodfrom_config
(cls, config)
keras/src/dtype_policies/dtype_policy.py:181
↓ 4 callersMethodfrom_config
(cls, config)
keras/src/quantizers/awq_config.py:139
↓ 4 callersMethodfrom_config
(cls, config)
keras/src/losses/loss.py:94
↓ 4 callersMethodgenerator
()
keras/src/trainers/data_adapters/data_adapter_utils_test.py:140
↓ 4 callersMethodget_config
(self)
keras/src/constraints/constraints.py:117
↓ 4 callersMethodget_config
(self)
keras/src/layers/core/einsum_dense.py:450
↓ 4 callersMethodget_jax_iterator
(self)
keras/src/trainers/data_adapters/py_dataset_adapter.py:295
↓ 4 callersMethodget_numpy_iterator
(self)
keras/src/trainers/data_adapters/torch_data_loader_adapter.py:34
↓ 4 callersFunctionget_sequential_model
(keras)
keras/src/legacy/saving/legacy_h5_format_test.py:25
↓ 4 callersMethodget_struct_loss
(self, structure)
keras/src/models/model_test.py:1035
↓ 4 callersMethodget_tf_dataset
(self)
keras/src/trainers/data_adapters/tf_dataset_adapter.py:59
← previousnext →501–600 of 14,520, ranked by callers