MCPcopy Create free account

hub / github.com/Sunset-Studios/Sundown / functions

Functions1,448 in github.com/Sunset-Studios/Sundown

Methodreshape
* Utility to reshape a tensor. * @param {number[]} shape - the shape to reshape the tensor to. * @returns {Tensor} the reshaped tensor.
engine/src/ml/math/tensor.js:249
Methodresize
* Resize the tree to accommodate the new capacity. * @param {number} new_capacity - The new capacity of the tree.
engine/src/memory/container.js:665
Methodresize
(new_capacity)
engine/src/memory/container.js:1057
Methodresume_training
* Resumes the automated training loop.
engine/src/ml/mastermind.js:260
Methodright
()
engine/src/acceleration/aabb.js:107
Methodrun
()
engine/src/core/simulator.js:66
Methodrun
()
engine/src/ml/ops/ops.js:923
Methodrun
()
engine/src/ml/ops/ops.js:1154
Methodruntime_store
()
engine/src/ml/ops/ops.js:15
Methodscale
(a, b)
engine/src/ml/ops/op_store.js:315
Methodscale
* Utility to scale a tensor. * @param {number} scale - the scale factor. * @returns {Tensor} the scaled tensor.
engine/src/ml/math/tensor.js:149
Functionscreen_pos_to_axis_plane_pos
( view_data, screen_x, screen_y, width, height, plane_axis = 'y' // Default to 'y' for the XZ plan
engine/src/utility/camera.js:49
Methodsegments
()
engine/src/core/ecs/solar/types.js:97
Methodset
* Set the bit value at the specified index. * @param {number} index - The index to set the bit. * @param {boolean} value - The bit value to set.
engine/src/memory/container.js:121
Methodset
* Set the value at the specified index. * @param {number} index - The index to set. * @param {number} value - The value to set.
engine/src/memory/container.js:1118
Methodset
* Set the value at the specified index. * @param {number} index - The index to set. * @param {number} value - The value to set. * @throws {Er
engine/src/memory/container.js:1296
Methodset
(index, value, key)
engine/src/memory/allocator.js:1451
Methodset_active_collection
* Set the active collection ID * @param {number} collection_id - The collection ID to set as active
engine/src/renderer/line_renderer.js:65
Methodset_active_subnet
* Activates a model for continuous training. * @param {string} model_id - The model to activate. * @returns {boolean} True if successfully activ
engine/src/ml/mastermind.js:114
Methodset_attachments
(attachments)
engine/src/renderer/render_pass.js:76
Methodset_backend
(backend)
engine/src/ml/ops/ops.js:36
Methodset_buffer_logging
* Enable or disable buffered logging * @param {boolean} enabled
engine/src/ml/logger.js:29
Methodset_children
(entity, children)
engine/src/core/scene_graph.js:26
Methodset_console_logging
* Enable or disable console logging * @param {boolean} enabled
engine/src/ml/logger.js:21
Methodset_current_view
(index)
engine/src/renderer/texture.js:292
Methodset_data
* Set the data of the vector. * @param {TypedArray} data - The data to set.
engine/src/memory/container.js:1377
Methodset_debug_tensor
* Utility to set the debug tensor. * @param {number} id - the ID of the tensor to debug.
engine/src/ml/math/tensor.js:530
Methodset_depth_stencil_attachment
(attachment)
engine/src/renderer/render_pass.js:80
Methodset_dev_cursor_enabled
(enabled)
engine/src/core/scene.js:106
Methodset_element
(index, value)
engine/src/ml/ops/op_types.js:117
Methodset_gpu_implementation
(gpu_implementation)
engine/src/ml/ops/ops.js:40
Methodset_max_depth
(depth)
engine/src/core/subsystems/aabb_debug_renderer.js:162
Methodset_node_data
* Set the data for a node. * @param {number} node - The index of the node to set the data for. * @param {Object} data - The data to set for the
engine/src/memory/container.js:725
Methodset_num_elements
(num_elements)
engine/src/memory/container.js:1307
Methodset_optimizer
(type, parent = null, beta1 = 0.9, beta2 = 0.999, epsilon = 1e-8)
engine/src/ml/ops/op_store.js:794
Methodset_optimizer
(type, root = null, beta1 = 0.9, beta2 = 0.999, epsilon = 1e-8)
engine/src/ml/ops/hop_api_adapter.js:54
Methodset_pass_enabled
* Enable or disable a post-process pass for a specific view
engine/src/renderer/post_process_stack.js:75
Methodset_ray
(origin, direction, hit_point = null)
engine/src/core/subsystems/aabb_debug_renderer.js:184
Methodset_scene
(scene)
engine/src/tools/camera_info.js:116
Methodset_scene
(scene)
engine/src/tools/dev_console.js:228
Methodset_scene
(scene)
engine/src/tools/aabb_debug.js:180
Methodset_scene
* Sets the scene for the performance trace tool. * @param {Object} scene - The scene to set.
engine/src/tools/performance_trace.js:82
Methodset_scene
(scene)
engine/src/tools/render_pass_organizer.js:195
Methodset_scene
(scene)
engine/src/core/subsystems/freeform_arcball_control_processor.js:103
Methodset_scene
(scene)
engine/src/core/subsystems/ui_3d_processor.js:80
Methodset_scene_id
* Sets the scene ID for the render graph, used to set and get the current pass order. * * @param {string} scene_id - The ID of the scene to set.
engine/src/renderer/render_graph.js:854
Methodset_subnet_context
(subnet_id, options = {})
engine/src/ml/ops/op_store.js:650
Methodset_subnet_context
(subnet_id, options = {})
engine/src/ml/ops/hop_api_adapter.js:9
Methodset_subnet_context_property
(subnet_id, prop_name, value)
engine/src/ml/ops/op_store.js:670
Methodset_subnet_context_property
(subnet_id, prop_name, value)
engine/src/ml/ops/hop_api_adapter.js:15
Methodset_target
(target_value)
engine/src/ui/2d/immediate.js:1703
Methodset_view_index
(index)
engine/src/core/shared_data.js:351
Methodsetter
(value, typed_array, element_offset)
engine/src/core/ecs/fragments/text_fragment.js:29
Methodsetup
()
engine/src/meta/meta_system.js:2
Methodsetup
()
engine/src/input/input_provider.js:33
Methodsetup_resource
(resource, resource_params_index, is_input_resource)
engine/src/renderer/render_graph.js:1379
Methodshow
()
engine/src/tools/camera_info.js:102
Methodshow
()
engine/src/tools/aabb_debug.js:166
Methodshow
()
engine/src/tools/ml_stats.js:112
Methodshow
()
engine/src/tools/render_pass_organizer.js:457
Methodshow_collection
* Show a specific collection * @param {number} collection_id - The collection ID to show
engine/src/renderer/line_renderer.js:77
Methodshutdown
()
engine/src/input/input_processor.js:102
Methodsigmoid
(a)
engine/src/ml/ops/op_store.js:388
Methodsigmoid
* Utility to apply the Sigmoid function to a tensor. * @returns {Tensor} the Sigmoid of the tensor.
engine/src/ml/math/tensor.js:191
Methodsigmoid_backward
(a, grad)
engine/src/ml/ops/op_store.js:402
Methodsigmoid_backward
* Utility to apply the Sigmoid function to a tensor. * @param {Tensor} grad - the gradient of the tensor. * @returns {Tensor} the Sigmoid of the
engine/src/ml/math/tensor.js:200
Methodsize
(type)
engine/src/renderer/resource_cache.js:42
Methodsize
* Get the current number of allocated elements. * @returns {number} The current size.
engine/src/memory/container.js:1135
Methodsoftmax
(a)
engine/src/ml/ops/op_store.js:466
Methodsoftmax
* Utility to apply the Softmax function to a tensor. * @returns {Tensor} the Softmax of the tensor.
engine/src/ml/math/tensor.js:208
Methodsoftmax_backward
(a, grad)
engine/src/ml/ops/op_store.js:480
Methodsoftmax_backward
* Utility to apply the Softmax function to a tensor. * @param {Tensor} grad - the gradient of the tensor. * @returns {Tensor} the Softmax of the
engine/src/ml/math/tensor.js:217
Functionspawn_plane_entity
( position, normal, scale, material, parent = null, children = [] )
engine/src/core/ecs/entity_utils.js:72
Methodstride_from_format
(format)
engine/src/renderer/texture.js:571
Methodstring
(hash)
engine/src/utility/names.js:24
Methodsub
(a, b)
engine/src/ml/ops/op_store.js:256
Methodsub
* Utility to subtract two tensors. * @param {Tensor} tensor - the tensor to subtract. * @returns {Tensor} the difference of the two tensors.
engine/src/ml/math/tensor.js:122
Methodsub_assign
(a, b)
engine/src/ml/ops/op_store.js:271
Methodsub_assign
* Utility to subtract two tensors and assign the result to the first tensor. * @param {Tensor} tensor - the tensor to subtract. * @returns {Tens
engine/src/ml/math/tensor.js:131
Methodsubmit
(encoder, post_render_cb = null)
engine/src/renderer/command_queue.js:9
Methodsubmit_draws
(render_pass, rg_frame_data, should_reset = false)
engine/src/renderer/mesh_task_queue.js:432
Methodsubmit_indexed_draws
(render_pass, rg_frame_data, should_reset = false)
engine/src/renderer/mesh_task_queue.js:457
Methodsync_all_buffers
* Sync all GPU buffers down to the CPU.
engine/src/core/ecs/solar/memory.js:825
Methodsync_buffers
* Read back the CPU buffer for the given frame into 'array'.
engine/src/core/ecs/solar/memory.js:362
Methodsync_buffers
()
engine/src/acceleration/aabb_gpu_raycast.js:179
Methodtanh
(a)
engine/src/ml/ops/op_store.js:359
Methodtanh
* Utility to apply the Tanh function to a tensor. * @returns {Tensor} the Tanh of the tensor.
engine/src/ml/math/tensor.js:174
Methodtanh_backward
(a, grad)
engine/src/ml/ops/op_store.js:373
Methodtanh_backward
* Utility to apply the Tanh function to a tensor. * @param {Tensor} grad - the gradient of the tensor. * @returns {Tensor} the Tanh of the tenso
engine/src/ml/math/tensor.js:183
Methodto_gpu_data
()
engine/src/acceleration/aabb.js:510
Methodtoggle
()
engine/src/tools/dev_console_tool.js:13
Methodtoggle
* Enable or disable the renderer
engine/src/renderer/line_renderer.js:559
Methodtrain_subnet_step
* Optionally triggers a training step manually on a given model. * This processes the next batch if available. * @param {string} model_id - The
engine/src/ml/mastermind.js:237
Methodtranspose
(a)
engine/src/ml/ops/op_store.js:147
Methodtranspose
* Utility to transpose a tensor. * @returns {Tensor} the transposed tensor.
engine/src/ml/math/tensor.js:95
Methodtrigger
* Triggers a state transition * @param {string} trigger - The name of the trigger * @param {*} [data] - Optional data to pass to callbacks
engine/src/utility/state_machine.js:79
Methodunion
* Add multiple values to the vector, ensuring uniqueness. * @param {TypedArray} other_typed_array - The array of values to add.
engine/src/memory/container.js:1334
Methodunregister_handler
* Unregisters a handler for a specific layer type * * @param {string} type - The layer type
engine/src/ml/layer.js:101
Methodunregister_hop_handler
(hop_type)
engine/src/ml/ops/op_store.js:70
Methodunregister_observer
(observer)
engine/src/ml/ops/op_store.js:53
← previousnext →1,301–1,400 of 1,448, ranked by callers