MCPcopy Create free account

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

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

↓ 2 callersFunction_is_integer
(a)
keras/src/backend/torch/image.py:741
↓ 2 callersFunction_is_per_replica_instance
(obj)
keras/src/backend/tensorflow/trainer.py:928
↓ 2 callersFunction_is_scalar
(x)
keras/src/backend/tensorflow/trainer.py:934
↓ 2 callersFunction_keepdims
(x, y, axis)
keras/src/backend/tensorflow/numpy.py:911
↓ 2 callersFunction_layer_normalization
( x, gamma=None, beta=None, axis=-1, epsilon=None, rms_scaling=False )
keras/src/ops/nn.py:2932
↓ 2 callersMethod_list_adaptable_preprocessors
(self)
keras/src/layers/preprocessing/feature_space.py:491
↓ 2 callersMethod_lock_state
Prevent further state updates, called automatically in `build()`.
keras/src/layers/layer.py:431
↓ 2 callersMethod_lookup_table_from_tokens
(self, tokens)
keras/src/layers/preprocessing/index_lookup.py:865
↓ 2 callersFunction_lu_factor
(x)
keras/src/ops/linalg.py:269
↓ 2 callersFunction_make_divisible
(v, divisor, min_value=None)
keras/src/applications/mobilenet_v2.py:470
↓ 2 callersMethod_make_function
(self, step_function)
keras/src/backend/tensorflow/trainer.py:130
↓ 2 callersMethod_merge_features
(self, preprocessed_features, crossed_features)
keras/src/layers/preprocessing/feature_space.py:574
↓ 2 callersFunction_merge_scores
(unique_inverse, scores)
keras/src/backend/jax/nn.py:891
↓ 2 callersFunction_merge_scores
(unique_inverse, scores)
keras/src/backend/numpy/nn.py:940
↓ 2 callersFunction_model_from_config
(config_json, custom_objects, compile, safe_mode)
keras/src/saving/saving_lib.py:425
↓ 2 callersMethod_muon_update_step
(self, gradient, variable, lr)
keras/src/optimizers/muon.py:185
↓ 2 callersFunction_normalize
(x, axis=-1, order=2, epsilon=None)
keras/src/ops/nn.py:2509
↓ 2 callersMethod_open_name_scope
(self)
keras/src/layers/layer.py:1677
↓ 2 callersMethod_overwrite_model_variables_with_average_value
Overwrite model variables with its moving average.
keras/src/optimizers/base_optimizer.py:996
↓ 2 callersFunction_pad_images
( images, top_padding, left_padding, bottom_padding, right_padding, target_height,
keras/src/ops/image.py:1110
↓ 2 callersFunction_pair
(x)
keras/src/backend/jax/nn.py:1433
↓ 2 callersMethod_params_and_state_to_variables
(self, params, state)
keras/src/utils/jax_layer.py:626
↓ 2 callersMethod_parse_name
Parses a `DTypePolicy` name into a compute and variable dtype. Args: name: The name of the policy. Returns:
keras/src/dtype_policies/dtype_policy.py:68
↓ 2 callersFunction_polar
Internal implementation of the polar function. Args: abs_: The magnitude (absolute value) of the complex number. angle: The angle
keras/src/ops/nn.py:3038
↓ 2 callersFunction_pool
Helper function to define pooling functions. Args: inputs: input data of shape `N+2`. initial_value: the initial value for the re
keras/src/backend/jax/nn.py:195
↓ 2 callersFunction_pool
Helper function to define pooling functions. Args: inputs: input data of shape `N+2`. initial_value: the initial value for the re
keras/src/backend/numpy/nn.py:244
↓ 2 callersMethod_pop_writer
Pops the current writer.
keras/src/callbacks/tensorboard.py:329
↓ 2 callersMethod_preprocess
(self, inputs)
keras/src/layers/preprocessing/text_vectorization.py:521
↓ 2 callersFunction_preprocess_conv3d_input
(x, data_format)
keras/src/legacy/backend.py:450
↓ 2 callersMethod_preprocess_features
(self, features)
keras/src/layers/preprocessing/feature_space.py:560
↓ 2 callersMethod_push_writer
Sets the default writer for custom batch-level summaries.
keras/src/callbacks/tensorboard.py:313
↓ 2 callersMethod_record_vocabulary_size
(self)
keras/src/layers/preprocessing/index_lookup.py:353
↓ 2 callersFunction_ref_softplus
(x)
keras/src/activations/activations_test.py:14
↓ 2 callersFunction_reject_zip_bomb
Raise if a ZIP member is a decompression bomb (see CWE-409).
keras/src/saving/saving_lib.py:452
↓ 2 callersFunction_rescale_dataset_split_sizes
Rescale the dataset split sizes. We want to ensure that the sum of the split sizes is equal to the total length of the dataset. Args:
keras/src/utils/dataset_utils.py:494
↓ 2 callersFunction_resize
( images, size, interpolation="bilinear", antialias=False, crop_to_aspect_ratio=False,
keras/src/ops/image.py:380
↓ 2 callersMethod_resolve_auto_jit_compile
(self)
keras/src/trainers/trainer.py:220
↓ 2 callersFunction_rms_normalization
(x, scale=None, axis=-1, epsilon=None)
keras/src/ops/nn.py:2818
↓ 2 callersFunction_routing_enabled
Return whether metadata routing is enabled. Returns: enabled : bool Whether metadata routing is enabled. If the config is not
keras/src/wrappers/fixes.py:43
↓ 2 callersMethod_run_test
( self, y_true, y_pred, sample_weights, class_aggregation, num
keras/src/metrics/regression_metrics_test.py:303
↓ 2 callersFunction_safe_zip_read
Read a ZIP member into memory, rejecting bombs (see CWE-409).
keras/src/saving/saving_lib.py:467
↓ 2 callersFunction_same_padding
(input_size, kernel_size, stride)
keras/src/layers/convolutional/depthwise_conv_test.py:10
↓ 2 callersMethod_save_model
Saves the model. Args: epoch: the epoch this iteration is in. batch: the batch this iteration is in. `None` if the `s
keras/src/callbacks/backup_and_restore.py:164
↓ 2 callersMethod_save_model
Saves the model. Args: epoch: the epoch this iteration is in. batch: the batch this iteration is in. `None` if the `s
keras/src/callbacks/model_checkpoint.py:264
↓ 2 callersFunction_save_model_to_dir
(model, dirpath, weights_format)
keras/src/saving/saving_lib.py:161
↓ 2 callersFunction_scale_and_translate
( x, output_shape, spatial_dims, scale, translation, kernel, antialias )
keras/src/backend/numpy/image.py:511
↓ 2 callersFunction_scan
(elems)
keras/src/backend/tensorflow/core.py:480
↓ 2 callersFunction_segment_reduction_fn
(data, segment_ids, reduction_method, num_segments)
keras/src/backend/torch/math.py:14
↓ 2 callersFunction_segment_reduction_fn
( data, segment_ids, reduction_method, num_segments, sorted )
keras/src/backend/numpy/math.py:11
↓ 2 callersFunction_separable_conv_block
Adds 2 blocks of [relu-separable conv-batchnorm]. Args: ip: Input tensor filters: Number of output filters per layer kern
keras/src/applications/nasnet.py:498
↓ 2 callersFunction_serialize_model_as_json
(model)
keras/src/saving/saving_lib.py:148
↓ 2 callersFunction_set_weights
Safely set weights into a model or a layer. Args: instance: Model or layer instance, symbolic_weights: symbolic tensors represent
keras/src/legacy/saving/legacy_h5_format.py:427
↓ 2 callersFunction_shared_object_disabled
Get whether shared object handling is disabled in a threadsafe manner.
keras/src/legacy/saving/serialization.py:36
↓ 2 callersFunction_shared_object_loading_scope
Get the current shared object saving scope in a threadsafe manner.
keras/src/legacy/saving/serialization.py:41
↓ 2 callersFunction_solve
(a, b)
keras/src/ops/linalg.py:506
↓ 2 callersFunction_solve_triangular
(a, b, lower=False)
keras/src/ops/linalg.py:553
↓ 2 callersFunction_stable_permutation
Return a stable permutation that sorts `metric` in descending order. Uses an index-based jitter to break ties deterministically.
keras/src/quantizers/gptq.py:16
↓ 2 callersFunction_standardize_cudnn_weights
Utility function convert variable to cuDNN compatible parameter. Note that Keras weights for kernels are different from the cuDNN format. Eg.
keras/src/backend/tensorflow/rnn.py:574
↓ 2 callersMethod_start_profiler
Starts the profiler if currently inactive. Args: logdir: Directory where profiler results will be saved.
keras/src/callbacks/tensorboard.py:611
↓ 2 callersMethod_stop_profiler
Stops the profiler if currently active. Args: save: Whether to save the profiler results to TensorBoard.
keras/src/callbacks/tensorboard.py:626
↓ 2 callersMethod_stop_trace
Logs the trace graph to TensorBoard.
keras/src/callbacks/tensorboard.py:502
↓ 2 callersMethod_strip_layer_names
Deduplicate summary names modulo layer prefix. This removes the first slash-component of each tag name: for instance, "foo/bar/baz" b
keras/src/callbacks/tensorboard_test.py:564
↓ 2 callersFunction_svd
(x, full_matrices=True, compute_uv=True)
keras/src/ops/linalg.py:612
↓ 2 callersMethod_tensor_vocab_to_numpy
Converts a tensor vocabulary to a numpy vocabulary.
keras/src/layers/preprocessing/index_lookup.py:985
↓ 2 callersMethod_test_class_weights
(self, target_encoding="int")
keras/src/trainers/data_adapters/tf_dataset_adapter_test.py:55
↓ 2 callersMethod_test_compile_overridden_warnings
(self, model_type)
keras/src/saving/saving_lib_test.py:402
↓ 2 callersMethod_test_inference_after_instantiation
(self, model)
keras/src/saving/saving_lib_test.py:261
↓ 2 callersMethod_test_input_output
(self, layer, input_value, expected_value, dtype)
keras/src/layers/preprocessing/image_preprocessing/solarization_test.py:12
↓ 2 callersMethod_test_layer
( self, model_name, layer_class, layer_init_kwargs, trainable_weights,
keras/src/utils/jax_layer_test.py:186
↓ 2 callersMethod_to_polymorphic_shape
(self, struct, allow_none=True)
keras/src/backend/jax/export.py:137
↓ 2 callersMethod_track_variable
(self, variable)
keras/src/optimizers/base_optimizer.py:204
↓ 2 callersFunction_transpose_conv_kernel
(kernel)
keras/src/backend/torch/nn.py:312
↓ 2 callersFunction_transpose_spatial_inputs
(inputs)
keras/src/backend/tensorflow/nn.py:185
↓ 2 callersFunction_transpose_spatial_outputs
(outputs)
keras/src/backend/tensorflow/nn.py:203
↓ 2 callersFunction_unfold
Internal implementation of unfold.
keras/src/ops/nn.py:3139
↓ 2 callersFunction_upcast_type_if_needed
(x)
keras/src/backend/openvino/numpy.py:260
↓ 2 callersMethod_update_metrics_variables
( self, metrics_variables, unscaled_loss, x, y, y_pred, sample_weight )
keras/src/backend/jax/trainer.py:98
↓ 2 callersMethod_update_model_variables_moving_average
Update the stored moving average using the latest value.
keras/src/optimizers/base_optimizer.py:978
↓ 2 callersMethod_validate_axes
(self)
keras/src/distribution/distribution_lib.py:266
↓ 2 callersMethod_validate_shape
(self, shape)
keras/src/backend/common/variables.py:231
↓ 2 callersFunction_vectorize_update_dim_sizes
(dim_sizes, shape, core_dims, is_input=True)
keras/src/backend/common/backend_utils.py:320
↓ 2 callersFunction_walk_saveable
(saveable)
keras/src/saving/saving_lib.py:738
↓ 2 callersMethod_zip_with_member
(self, name, data, compression=zipfile.ZIP_DEFLATED)
keras/src/saving/saving_lib_test.py:1378
↓ 2 callersMethodadd
(self, value)
keras/src/utils/tracking.py:300
↓ 2 callersFunctionall
(x, axis=None, keepdims=False)
keras/src/backend/tensorflow/numpy.py:776
↓ 2 callersFunctionany
(x, axis=None, keepdims=False)
keras/src/backend/torch/numpy.py:278
↓ 2 callersFunctionany
(x, axis=None, keepdims=False)
keras/src/backend/numpy/numpy.py:151
↓ 2 callersFunctionapply_brightness_shift
Performs a brightness shift. DEPRECATED. Args: x: Input tensor. Must be 3D. brightness: Float. The new brightness value.
keras/src/legacy/preprocessing/image.py:1703
↓ 2 callersFunctionapply_channel_shift
Performs a channel shift. DEPRECATED. Args: x: Input tensor. Must be 3D. intensity: Transformation intensity. channe
keras/src/legacy/preprocessing/image.py:1661
↓ 2 callersFunctionbold_text
Bolds text using rich markup.
keras/src/utils/summary_utils.py:77
↓ 2 callersMethodbuild
(self, input_shape)
keras/src/saving/saving_lib_test.py:30
↓ 2 callersMethodbuild
( self, query_shape, value_shape, key_shape=None, )
keras/src/layers/attention/grouped_query_attention.py:140
↓ 2 callersMethodbuild
(self, inputs_shape=None)
keras/src/layers/core/reversible_embedding.py:104
↓ 2 callersMethodbuild
(self, input_shape)
keras/src/layers/normalization/batch_normalization.py:174
↓ 2 callersMethodbuild
(self, input_shape)
keras/src/layers/normalization/layer_normalization.py:153
↓ 2 callersMethodbuild
Initialize optimizer variables. Adam optimizer has 3 types of variables: momentums, velocities and velocity_hat (only set when amsgra
keras/src/optimizers/muon.py:144
↓ 2 callersMethodbuild
Initialize optimizer variables. SGD optimizer has one variable `momentums`, only set if `self.momentum` is not 0. Args:
keras/src/optimizers/sgd.py:79
↓ 2 callersFunctionbuild_all_tokens_strings
(dataset, tokenizer, eos_id=None)
keras/src/quantizers/gptq_core_test.py:93
↓ 2 callersMethodcall
(self, x)
keras/src/ops/linalg.py:440
↓ 2 callersMethodcall
(self, x)
keras/src/ops/math.py:151
← previousnext →801–900 of 12,633, ranked by callers