get_fixed_test_tensor: Generate static test tensor

View source: R/utils_test_that.R

get_fixed_test_tensorR Documentation

Generate static test tensor

Description

Function generates a static test tensor which is always the same.

Usage

get_fixed_test_tensor(pad_value)

Arguments

pad_value

int Value used to indicate padding.

Value

Returns an object of class Tensor which is always the same except padding. Shape (5,3,7).

See Also

Other Utils TestThat Developers: check_adjust_n_samples_on_CI(), generate_args_for_tests(), generate_embeddings(), generate_tensors(), get_current_args_for_print(), get_test_data_for_classifiers(), monitor_test_time_on_CI(), random_bool_on_CI()


aifeducation documentation built on Nov. 19, 2025, 5:08 p.m.