- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for Constant (0.21 sec)
-
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
-# define __mempcpy(dest, src, n) \ - (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n) \ - && __string2_1bptr_p (src) && n <= 8 \ - ? __builtin_memcpy (dest, src, n) + (n) \ - : __mempcpy (dest, src, n))) -# else -# define __mempcpy(dest, src, n) \ - (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n) \ - && __string2_1bptr_p (src) && n <= 8 \
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
feed2_ = Placeholder(graph_, s_, "feed2"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); constant_ = ScalarConst(10, graph_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); desc_ = TF_NewOperation(graph_, "AddN", "add"); TF_Output inputs[] = {{feed1_, 0}, {constant_, 0}}; TF_AddInputList(desc_, inputs, TF_ARRAYSIZE(inputs)); } ~CApiColocationTest() override {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/grappler/grappler.h
// This may cause incorrectness in graph analyses, but is useful for simulation // or scheduling. // If include_input_tensor_values is true, the values of constant // tensors will included in the input properties. // If include_output_tensor_values is true, the values of constant tensors will // be included in the output properties. TF_CAPI_EXPORT extern void TF_InferStatically(
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
python="$venv/bin/python3" "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)' "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)' fi
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 21:16:27 GMT 2024 - 3.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats
python3 -m pip install "$TF_WHEEL" } @test "TensorFlow is importable" { source /tf/venv/bin/activate python3 -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)' } # Is this still useful? @test "TensorFlow has Keras" { source /tf/venv/bin/activate
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 2.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
TF_CAPI_EXPORT void TF_SetXlaMinClusterSize(int size); // Gets/Sets TF/XLA flag for whether(true) or not(false) to disable constant // folding. This is for testing to ensure that XLA is being tested rather than // Tensorflow's CPU implementation through constant folding. TF_CAPI_EXPORT unsigned char TF_GetXlaConstantFoldingDisabled(); TF_CAPI_EXPORT void TF_SetXlaConstantFoldingDisabled( unsigned char should_enable);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
CONFIG_TOGGLE(implementation_selector); CONFIG_TOGGLE(function_optimization); CONFIG_TOGGLE(common_subgraph_elimination); CONFIG_TOGGLE(arithmetic_optimization); CONFIG_TOGGLE(debug_stripper); CONFIG_TOGGLE(constant_folding); CONFIG_TOGGLE(shape_optimization); CONFIG_TOGGLE(auto_mixed_precision); CONFIG_TOGGLE(auto_mixed_precision_onednn_bfloat16); CONFIG_TOGGLE(auto_mixed_precision_mkl);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.cc
unsigned char TF_GetXlaConstantFoldingDisabled() { return static_cast<unsigned char>( tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding); } void TF_SetXlaConstantFoldingDisabled(unsigned char should_enable) { tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding = static_cast<bool>(should_enable); } void TF_SetXlaMinClusterSize(int size) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
if (operation_name == std::string("_EagerConst")) { // Non-parallel tensors from _EagerConst/tf.constant are implicitly // broadcast, i.e. set as the input to each parallel operation. This // allows code like "tf.constant(1.)" or "tf.reduce_sum(..., axis=1)" // (where the value starts on the host), without allowing other implicit
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
RELEASE.md
* `tf.constant_initializer` * It now takes a new argument called `support_partition`. If True, constant_initializers can create sharded variables. This is disabled by default, similar to existing behavior. * `tf.lite` * Added support for `stablehlo.scatter`.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)