Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Constant (0.18 sec)

  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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/c/BUILD

            ":tf_buffer",
            ":tf_buffer_internal",
            "//tensorflow/cc:cc_ops",
            "//tensorflow/cc:grad_ops",
            "//tensorflow/cc/saved_model:signature_constants",
            "//tensorflow/cc/saved_model:tag_constants",
            "//tensorflow/compiler/jit",
            "//tensorflow/core:array_ops_op_lib",
            "//tensorflow/core:bitwise_ops_op_lib",
            "//tensorflow/core:control_flow_ops_op_lib",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  6. .bazelrc

    # See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
    build:windows --copt=/Zc:__cplusplus
    build:windows --host_copt=/Zc:__cplusplus
    
    # Tensorflow uses M_* math constants that only get defined by MSVC headers if
    # _USE_MATH_DEFINES is defined.
    build:windows --copt=/D_USE_MATH_DEFINES
    build:windows --host_copt=/D_USE_MATH_DEFINES
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top