MCPcopy Create free account

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

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

↓ 6 callersMethod_var_key
(self, variable)
keras/src/optimizers/base_optimizer.py:230
↓ 6 callersMethodassertAllInRange
(self, array, min_val, max_val)
keras/src/layers/preprocessing/image_preprocessing/equalization_test.py:12
↓ 6 callersMethodbuild
(self, _)
keras/src/layers/layer_test.py:1379
↓ 6 callersMethodbuild
Builds layers and variables. Args: query_shape: Shape of the `query` tensor. value_shape: Shape of the `value` tensor
keras/src/layers/attention/multi_head_attention.py:223
↓ 6 callersMethodcatch_stop_iteration
Catches errors when an iterator runs out of data.
keras/src/backend/tensorflow/trainer.py:767
↓ 6 callersMethodclear
(self)
keras/src/utils/tracking.py:321
↓ 6 callersMethodclose
(self)
keras/src/saving/saving_lib.py:1116
↓ 6 callersMethodclose
(self)
keras/src/saving/saving_lib.py:1558
↓ 6 callersFunctioncompute_conv_transpose_output_shape
( input_shape, kernel_size, filters, strides, padding, output_padding=None, data_f
keras/src/backend/common/backend_utils.py:215
↓ 6 callersMethodcompute_metrics
Update metric states and collect all metrics to be returned. Subclasses can optionally override this method to provide custom metric
keras/src/trainers/trainer.py:447
↓ 6 callersMethodcompute_output_spec
(self, *args, **kwargs)
keras/src/layers/layer.py:1133
↓ 6 callersFunctionenable_flash_attention
Enable flash attention. Flash attention offers performance optimization for attention layers, making it especially useful for large language
keras/src/backend/config.py:178
↓ 6 callersMethodenable_lora
( self, rank, lora_alpha=None, a_initializer="he_uniform", b_initializ
keras/src/layers/core/embedding.py:176
↓ 6 callersMethodget_encoded_features
(self)
keras/src/layers/preprocessing/feature_space.py:548
↓ 6 callersMethodget_model
(self, dtype=None)
keras/src/saving/saving_api_test.py:209
↓ 6 callersMethodget_numpy_iterator
(self)
keras/src/trainers/data_adapters/py_dataset_adapter.py:292
↓ 6 callersMethodget_numpy_iterator
(self)
keras/src/trainers/data_adapters/tf_dataset_adapter.py:37
↓ 6 callersMethodget_recurrent_dropout_mask
(self, step_input)
keras/src/layers/rnn/dropout_rnn_cell.py:46
↓ 6 callersMethodget_vocabulary
Returns the current vocabulary of the layer. Args: include_special_tokens: If `True`, the returned vocabulary wil
keras/src/layers/preprocessing/index_lookup.py:282
↓ 6 callersFunctionis_nested
(structure)
keras/src/tree/dmtree_impl.py:90
↓ 6 callersFunctionis_tensor
(x)
keras/src/backend/numpy/core.py:63
↓ 6 callersMethodmake
Make a new H5 entry group. This method is only available in write mode. It defers the creation of the H5 entry group until `__setitem
keras/src/saving/saving_lib.py:1289
↓ 6 callersFunctionmoveaxis
(x, source, destination)
keras/src/backend/tensorflow/numpy.py:2088
↓ 6 callersMethodon_predict_batch_begin
(self, batch, logs=None)
keras/src/callbacks/callback_list.py:183
↓ 6 callersMethodon_predict_begin
(self, logs=None)
keras/src/callbacks/callback_list.py:266
↓ 6 callersMethodon_predict_end
(self, logs=None)
keras/src/callbacks/callback_list.py:273
↓ 6 callersMethodon_test_batch_end
(self, batch, logs=None)
keras/src/callbacks/callback_list.py:200
↓ 6 callersFunctionov_to_keras_type
(ov_type)
keras/src/backend/openvino/core.py:522
↓ 6 callersMethodpop
Removes the last layer in the model. Args: rebuild: `bool`. Whether to rebuild the model after removing the layer. De
keras/src/models/sequential.py:127
↓ 6 callersMethodquantize
(self, mode, type_check=True, config=None)
keras/src/layers/layer.py:1271
↓ 6 callersFunctionreadable_memory_size
Convert the weight memory size (Bytes) to a readable string.
keras/src/utils/summary_utils.py:49
↓ 6 callersMethodreset_state
(self)
keras/src/layers/rnn/rnn.py:325
↓ 6 callersMethodset_vocabulary
Sets vocabulary (and optionally document frequency) for this layer. This method sets the vocabulary and idf weights for this layer directly,
keras/src/layers/preprocessing/index_lookup.py:358
↓ 6 callersMethodsetup
(self)
keras/src/losses/losses_test.py:713
↓ 6 callersMethodsetup
(self)
keras/src/losses/losses_test.py:810
↓ 6 callersMethodsetup
(self)
keras/src/losses/losses_test.py:897
↓ 6 callersMethodsetup
(self)
keras/src/losses/losses_test.py:1966
↓ 6 callersFunctionsum
DEPRECATED.
keras/src/legacy/backend.py:2100
↓ 6 callersFunctiontorch_seed_generator
(seed)
keras/src/backend/torch/random.py:17
↓ 6 callersMethodupdate_state
(self, y_true, y_pred, sample_weight=None)
keras/src/trainers/compile_utils.py:336
↓ 5 callersFunctionConvNeXt
Instantiates ConvNeXt architecture given specific configuration. Args: depths: An iterable containing depths for each individual stages.
keras/src/applications/convnext.py:331
↓ 5 callersMethod__init__
(self, alpha, *, beta=1.0, name=None)
keras/src/ops/operation_test.py:33
↓ 5 callersMethod__init__
(self, name="accuracy", dtype=None)
keras/src/metrics/accuracy_metrics.py:53
↓ 5 callersMethod__init__
( self, num_classes, target_class_ids, name=None, dtype=None,
keras/src/metrics/iou_metrics.py:235
↓ 5 callersMethod__init__
( self, units, *, kernel_regularizer=None, kernel_initializer=None,
keras/src/saving/serialization_lib_test.py:426
↓ 5 callersMethod__init__
( self, initial_learning_rate, decay_steps, alpha=0.0, name="CosineDec
keras/src/optimizers/schedules/learning_rate_schedule.py:669
↓ 5 callersMethod_check_reloading_model
(self, ref_input, model)
keras/src/legacy/saving/legacy_h5_format_test.py:117
↓ 5 callersMethod_check_reloading_model
(self, ref_input, model, tf_keras_model)
keras/src/legacy/saving/legacy_h5_format_test.py:306
↓ 5 callersMethod_check_super_called
(self)
keras/src/layers/layer.py:1581
↓ 5 callersFunction_convert_to_spatial_operand
( x, num_spatial_dims, data_format="channels_last", include_batch_and_channels=True, )
keras/src/backend/jax/nn.py:178
↓ 5 callersFunction_convert_to_spatial_operand
( x, num_spatial_dims, data_format="channels_last", include_batch_and_channels=True, )
keras/src/backend/numpy/nn.py:227
↓ 5 callersMethod_convert_to_tensor
(self, value, dtype=None)
keras/src/backend/common/variables.py:418
↓ 5 callersMethod_get_compiled_model
( self, use_ema=True, jit_compile=True, loss_scale=False )
keras/src/callbacks/swap_ema_weights_test.py:35
↓ 5 callersFunction_get_complex_tensor_from_tuple
(x)
keras/src/backend/torch/math.py:157
↓ 5 callersFunction_get_complex_tensor_from_tuple
(x)
keras/src/backend/jax/math.py:82
↓ 5 callersMethod_get_concrete_fn
Workaround for some SavedModel quirks.
keras/src/export/saved_model.py:556
↓ 5 callersFunction_get_model
()
keras/src/models/model_test.py:20
↓ 5 callersFunction_preprocess_conv2d_input
(x, data_format, force_transpose=False)
keras/src/legacy/backend.py:440
↓ 5 callersMethod_raise_if_frozen
(self)
keras/src/utils/config.py:102
↓ 5 callersMethod_run_test
( self, y_true, y_pred, sample_weights, average, beta,
keras/src/metrics/f_score_metrics_test.py:9
↓ 5 callersFunction_saturate_cast
(x, dtype, backend_module=None)
keras/src/ops/core.py:903
↓ 5 callersMethod_set_monitor_op
(self)
keras/src/callbacks/monitor_callback.py:62
↓ 5 callersMethod_standardize_batch
(self, batch)
keras/src/trainers/data_adapters/py_dataset_adapter.py:225
↓ 5 callersMethod_transform_value_range
Convert input values from `original_range` to `target_range`. This function is intended to be used in preprocessing layers that rely
keras/src/layers/preprocessing/image_preprocessing/base_image_preprocessing_layer.py:255
↓ 5 callersMethod_validate_inputs
Validates arguments of the call method.
keras/src/layers/attention/attention.py:297
↓ 5 callersMethodadapt
Computes the mean and variance of values in a dataset. Calling `adapt()` on a `Normalization` layer is an alternative to passing in `
keras/src/layers/preprocessing/normalization.py:203
↓ 5 callersMethodadd_to_store
(self, store_name, value)
keras/src/utils/tracking.py:117
↓ 5 callersMethodadd_variable_from_reference
Add an optimizer variable from the model variable. Create an optimizer variable based on the information of model variable. For examp
keras/src/optimizers/base_optimizer.py:286
↓ 5 callersFunctionapply_affine_transform
Applies an affine transformation specified by the parameters given. DEPRECATED.
keras/src/legacy/preprocessing/image.py:1771
↓ 5 callersMethodassign
(self, variable, value)
keras/src/backend/tensorflow/optimizer.py:47
↓ 5 callersMethodassign_sub
(self, value)
keras/src/backend/common/variables.py:299
↓ 5 callersFunctionbody
(a, b)
keras/src/backend/tensorflow/numpy.py:1596
↓ 5 callersFunctioncompute_conv_output_shape
Compute the output shape of conv ops.
keras/src/ops/operation_utils.py:167
↓ 5 callersMethodcompute_output_spec
(self, f, xs)
keras/src/ops/core.py:19
↓ 5 callersMethodcompute_output_spec
(self, x)
keras/src/ops/math.py:399
↓ 5 callersFunctionconvert_to_numpy
Convert a tensor to a NumPy array. Args: x: A tensor. Returns: A NumPy array.
keras/src/ops/core.py:1005
↓ 5 callersMethodcreate_tar
(self)
keras/src/utils/file_utils_test.py:243
↓ 5 callersFunctiondequantize_with_zero_point
Dequantizes a quantized tensor using the provided scale and zero tensors. Args: input_tensor: KerasTensor. The quantized tensor to d
keras/src/quantizers/quantizers.py:862
↓ 5 callersMethodfrom_config
(cls, config, custom_objects=None)
keras/src/layers/core/wrapper.py:41
↓ 5 callersMethodfrom_config
(cls, config)
keras/src/layers/rnn/gru.py:709
↓ 5 callersMethodget_config
(self)
keras/src/initializers/random_initializers.py:562
↓ 5 callersMethodget_config
(self)
keras/src/layers/core/dense.py:307
↓ 5 callersFunctionget_model
(type="sequential", input_shape=(10,), layer_list=None)
keras/src/export/onnx_test.py:34
↓ 5 callersMethodget_model
(self)
keras/src/saving/saving_api_test.py:19
↓ 5 callersFunctionget_stateless_scope
()
keras/src/backend/common/stateless_scope.py:104
↓ 5 callersMethodget_tf_dataset
(self)
keras/src/trainers/data_adapters/py_dataset_adapter.py:298
↓ 5 callersMethodget_tf_dataset
(self)
keras/src/trainers/data_adapters/generator_data_adapter.py:31
↓ 5 callersMethodinteger_categorical
( cls, max_tokens=None, num_oov_indices=1, output_mode="one_hot", name
keras/src/layers/preprocessing/feature_space.py:329
↓ 5 callersMethodinteger_hashed
(cls, num_bins, output_mode="one_hot", name=None)
keras/src/layers/preprocessing/feature_space.py:375
↓ 5 callersFunctionis_float_dtype
(dtype)
keras/src/backend/common/variables.py:640
↓ 5 callersFunctionis_int_dtype
(dtype)
keras/src/backend/common/variables.py:646
↓ 5 callersFunctionis_tensor
(x)
keras/src/backend/torch/core.py:260
↓ 5 callersFunctionis_tf_dataset
(dataset)
keras/src/utils/dataset_utils.py:460
↓ 5 callersFunctionmake_node_key
(op, node_index)
keras/src/ops/function.py:246
↓ 5 callersFunctionmax
(x, axis=None, keepdims=False, initial=None)
keras/src/backend/jax/numpy.py:253
↓ 5 callersMethodnamed_parameters
( self, prefix="", recurse=True, remove_duplicate=True, )
keras/src/backend/torch/layer.py:28
↓ 5 callersFunctionndim
DEPRECATED.
keras/src/legacy/backend.py:1041
↓ 5 callersFunctionnormalize
Normalizes an array. If the input is a NumPy array, a NumPy array will be returned. If it's a backend tensor, a backend tensor will be return
keras/src/utils/numerical_utils.py:9
↓ 5 callersFunctionnp_conv2d
( x, kernel_weights, bias_weights, strides, padding, data_format, dilation_rate,
keras/src/layers/convolutional/conv_test.py:98
↓ 5 callersMethodnp_cosine_decay_restarts
( self, step, decay_steps, t_mul=2.0, m_mul=1.0, alpha=0.0 )
keras/src/optimizers/schedules/learning_rate_schedule_test.py:392
← previousnext →301–400 of 12,633, ranked by callers