Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hoconstant (0.55 sec)

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

      // Workaround for not being able to initialize empty map using {}
      std::unordered_set<string> empty_;
    };
    
    TEST_F(CApiFunctionTest, OneOp_ZeroInputs_OneOutput) {
      /*
       *                constant
       *                   |
       *                   v
       */
      // Define
      TF_Operation* c = ScalarConst(10, func_graph_, s_, "scalar10");
      Define(-1, {}, {}, {c}, {});
    
      // Use, run, and verify
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top