MCPcopy Create free account

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

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

↓ 5 callersMethodon_test_batch_begin
(self, batch, logs=None)
keras/src/callbacks/callback_list.py:178
↓ 5 callersMethodon_test_begin
(self, logs=None)
keras/src/callbacks/callback_list.py:249
↓ 5 callersMethodon_test_end
(self, logs=None)
keras/src/callbacks/callback_list.py:256
↓ 5 callersMethodon_train_batch_end
(self, batch, logs=None)
keras/src/callbacks/callback_list.py:194
↓ 5 callersMethodquantize
(self, mode, type_check=True, config=None)
keras/src/layers/core/embedding.py:410
↓ 5 callersMethodquantize
Quantize the weights of the model. Note that the model must be built first before calling this method. `quantize` will recursively ca
keras/src/models/model.py:425
↓ 5 callersFunctionresolve_path
(path)
keras/src/utils/file_utils.py:44
↓ 5 callersMethodresult
(self)
keras/src/metrics/reduction_metrics.py:155
↓ 5 callersMethodsetUp
(self)
keras/src/ops/image_test.py:2003
↓ 5 callersMethodskip_if_invalid_image_data_format_for_model
( self, app, image_data_format )
keras/src/applications/applications_test.py:132
↓ 5 callersFunctionsparseness
(x)
keras/src/ops/numpy_test.py:5451
↓ 5 callersMethodstart
Starts the handler's workers. This method is thread safe but is called from the main thread. It is safe to call this method multiple
keras/src/trainers/data_adapters/py_dataset_adapter.py:476
↓ 5 callersMethodstep
(inputs, states)
keras/src/layers/rnn/rnn.py:335
↓ 5 callersMethodstop
Stops running threads and wait for them to exit, if necessary. This method is thread safe and is called from various threads. Note that
keras/src/trainers/data_adapters/py_dataset_adapter.py:491
↓ 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:2235
↓ 5 callersMethodvisited
(self)
keras/src/tree/tree_test.py:69
↓ 4 callersMethod__init__
(self, device_mesh)
keras/src/distribution/distribution_lib.py:785
↓ 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 callersFunction_assert_1d
(*arrays)
keras/src/ops/linalg.py:694
↓ 4 callersFunction_assert_a_b_compat
(a, b)
keras/src/ops/linalg.py:721
↓ 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:192
↓ 4 callersMethod_check_load_own_variables
(self, store)
keras/src/layers/convolutional/base_conv.py:381
↓ 4 callersFunction_combine
(a_flat, b_flat)
keras/src/backend/tensorflow/core.py:412
↓ 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:251
↓ 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:582
↓ 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:1070
↓ 4 callersFunction_get_complex_tensor_from_tuple
(x)
keras/src/backend/tensorflow/math.py:76
↓ 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:1274
↓ 4 callersFunction_get_model_multi_outputs_dict
()
keras/src/models/model_test.py:67
↓ 4 callersFunction_get_output_shape_given_tf_padding
( input_size, kernel_size, strides, padding, output_padding, dilation_rate )
keras/src/backend/common/backend_utils.py:190
↓ 4 callersFunction_get_quantized_dtype_policy_by_str
(policy)
keras/src/dtype_policies/dtype_policy.py:426
↓ 4 callersMethod_initialize
(self, value)
keras/src/backend/common/variables.py:409
↓ 4 callersMethod_is_improvement
(self, monitor_value, reference_value)
keras/src/callbacks/monitor_callback.py:101
↓ 4 callersFunction_load_state
( saveable, weights_store, assets_store, inner_path, skip_mismatch=False, visited_save
keras/src/saving/saving_lib.py:833
↓ 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:712
↓ 4 callersMethod_oov_start_index
(self)
keras/src/layers/preprocessing/index_lookup.py:908
↓ 4 callersMethod_run_through_graph
Execute the graph. At each node we compute outputs via `operation_fn(node.operation)(*args, **kwargs)`.
keras/src/ops/function.py:171
↓ 4 callersFunction_save_state
( saveable, weights_store, assets_store, inner_path, visited_saveables, )
keras/src/saving/saving_lib.py:768
↓ 4 callersFunction_segment_reduce_validation
(data, segment_ids)
keras/src/ops/math.py:11
↓ 4 callersMethod_set_quantization_info
(self)
keras/src/layers/core/einsum_dense.py:1155
↓ 4 callersFunction_stft
( x, sequence_length, sequence_stride, fft_length, window="hann", center=True )
keras/src/ops/math_test.py:17
↓ 4 callersMethod_track_variables
(self)
keras/src/backend/torch/layer.py:21
↓ 4 callersFunction_transpose_spatial_inputs
Transpose inputs from channels_last to channels_first format.
keras/src/backend/torch/nn.py:282
↓ 4 callersFunction_transpose_spatial_outputs
(outputs)
keras/src/backend/torch/nn.py:300
↓ 4 callersMethod_untrack_variable
(self, variable)
keras/src/layers/layer.py:1428
↓ 4 callersMethodadapt
Computes bin boundaries from quantiles in a input dataset. Calling `adapt()` on a `Discretization` layer is an alternative to passing
keras/src/layers/preprocessing/discretization.py:159
↓ 4 callersFunctionall
(x, axis=None, keepdims=False)
keras/src/backend/jax/numpy.py:278
↓ 4 callersFunctionany
(x, axis=None, keepdims=False)
keras/src/backend/tensorflow/numpy.py:791
↓ 4 callersMethodassertSparseness
(self, x, expected_sparseness)
keras/src/ops/numpy_test.py:5648
↓ 4 callersFunctioncast
(x, dtype)
keras/src/backend/numpy/core.py:73
↓ 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:1828
↓ 4 callersMethodcompute_output_shape
( self, query_shape, value_shape, key_shape=None, )
keras/src/layers/attention/multi_head_attention.py:678
↓ 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:331
↓ 4 callersMethodcompute_output_spec
(self, x)
keras/src/ops/math.py:546
↓ 4 callersFunctionconcat
Concats `tensor`s along `axis`.
keras/src/backend/tensorflow/trainer.py:898
↓ 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:973
↓ 4 callersFunctioncreate_indexed_slices
(x, indices_from=None, start=0, delta=2)
keras/src/ops/numpy_test.py:5407
↓ 4 callersFunctioncreate_sparse_tensor
(x, indices_from=None, start=0, delta=2)
keras/src/ops/numpy_test.py:5387
↓ 4 callersFunctiondequantize_with_sz_map
Rebuild a dequantized weight matrix from group params. This function uses the provided scale and zero tensors to dequantize the input weights
keras/src/quantizers/quantizers.py:908
↓ 4 callersFunctiondeserialize
Deserializes a serialized `DTypePolicy` instance. Args: config: `DTypePolicy` configuration. custom_objects: Optional dictionary
keras/src/dtype_policies/__init__.py:39
↓ 4 callersMethoddtype_policy
(self)
keras/src/layers/layer.py:746
↓ 4 callersMethodenable_lora
( self, rank, lora_alpha=None, a_initializer="he_uniform", b_initializ
keras/src/layers/core/einsum_dense.py:265
↓ 4 callersMethodenable_lora
( self, rank, lora_alpha=None, a_initializer="he_uniform", b_initializ
keras/src/layers/convolutional/base_conv.py:277
↓ 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 callersMethodfit
( self, x=None, y=None, batch_size=None, epochs=1, verbose="au
keras/src/backend/jax/trainer.py:350
↓ 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:287
↓ 4 callersMethodfrom_config
(cls, config)
keras/src/layers/preprocessing/pipeline.py:70
↓ 4 callersMethodfrom_config
(cls, config)
keras/src/dtype_policies/dtype_policy.py:181
↓ 4 callersMethodgenerator
()
keras/src/trainers/data_adapters/generator_data_adapter_test.py:108
↓ 4 callersFunctionget_current_remat_mode
Get the current rematerialization mode and associated settings. Returns: RematMode or None: The current rematerialization mode, or None i
keras/src/backend/common/remat.py:119
↓ 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:1014
↓ 4 callersMethodget_tf_dataset
(self)
keras/src/trainers/data_adapters/tf_dataset_adapter.py:59
↓ 4 callersMethodget_torch_dataloader
(self)
keras/src/trainers/data_adapters/py_dataset_adapter.py:330
↓ 4 callersFunctionhighlight_number
Themes numbers in a summary using rich markup. We use a separate color for `None`s, e.g. in a layer shape.
keras/src/utils/summary_utils.py:61
↓ 4 callersFunctionis_flash_attention_enabled
Checks whether flash attention is globally enabled in Keras. Flash attention is a performance-optimized method for computing attention in lar
keras/src/backend/config.py:215
↓ 4 callersFunctionis_torch_dataset
(dataset)
keras/src/utils/dataset_utils.py:479
↓ 4 callersFunctionload_attributes_from_hdf5_group
Loads attributes of the specified name from the HDF5 group. This method deals with an inherent problem of HDF5 file which is not able to stor
keras/src/legacy/saving/legacy_h5_format.py:615
↓ 4 callersFunctionlog_softmax
(x, axis=-1)
keras/src/backend/numpy/nn.py:203
↓ 4 callersMethodmake_model
(self)
keras/src/callbacks/backup_and_restore_test.py:44
↓ 4 callersFunctionmax
(x, axis=None, keepdims=False, initial=None)
keras/src/backend/torch/numpy.py:198
↓ 4 callersFunctionnp_avgpool1d
(x, pool_size, strides, padding, data_format)
keras/src/layers/pooling/average_pooling_test.py:18
← previousnext →401–500 of 12,633, ranked by callers