Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for desc (0.16 sec)

  1. tensorflow/c/c_api.cc

                                           TF_Status* status)
        TF_EXCLUSIVE_LOCKS_REQUIRED(desc->graph->mu) {
      Node* ret = nullptr;
    
      if (desc->graph->name_map.count(desc->node_builder.node_name())) {
        status->status = InvalidArgument("Duplicate node name in graph: '",
                                         desc->node_builder.node_name(), "'");
      } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      FinishAndVerify(desc_, {"loc:@feed1", "loc:@feed2"});
    }
    
    TEST_F(CApiColocationTest, Proto_StringList) {
      SetViaProto(desc_, {"loc:@feed1"});
      SetViaStringList(desc_, {"loc:@feed2"});
      FinishAndVerify(desc_, {"loc:@feed2"});
    }
    
    TEST_F(CApiColocationTest, StringList_Proto) {
      SetViaStringList(desc_, {"loc:@feed1"});
      SetViaProto(desc_, {"loc:@feed2"});
      FinishAndVerify(desc_, {"loc:@feed2"});
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      TF_SetAttrType(reduce_desc, "T", TF_FLOAT);
      TF_SetAttrInt(reduce_desc, "group_size", group_size);
      TF_SetAttrInt(reduce_desc, "group_key", 0);
      TF_SetAttrInt(reduce_desc, "instance_key", 0);
    
      const std::string merge_op("Mul");
      TF_SetAttrString(reduce_desc, "merge_op", merge_op.c_str(),
                       merge_op.length());
      const std::string final_op("Id");
      TF_SetAttrString(reduce_desc, "final_op", final_op.c_str(),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  4. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "Less", "less_than");
      TF_AddInput(desc, l);
      TF_AddInput(desc, r);
      return TF_FinishOperation(desc, s);
    }
    
    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
                                TF_Graph* graph, TF_Status* s) {
      TF_OperationDescription* desc =
          TF_NewOperation(graph, "RandomUniform", "random_uniform");
      TF_AddInput(desc, {shape, 0});
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      TF_OperationDescription* arg_descr =
          TF_NewOperation(function_graph, "Placeholder", "arg");
      TF_SetAttrType(arg_descr, "dtype", TF_INT32);
      TF_Status* status = TF_NewStatus();
      TF_Operation* arg = TF_FinishOperation(arg_descr, status);
      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TF_OperationDescription* id_descr =
          TF_NewOperation(function_graph, "Identity", "id");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_function_test.cc

        TF_OperationDescription* desc =
            TF_NewOperation(host_graph_, func_name_, func_node_name_);
        for (auto input : inputs) {
          TF_AddInput(desc, input);
        }
        // Set device to CPU because some ops inside the function might not be
        // available on GPU.
        TF_SetDevice(desc, "/cpu:0");
        *op = TF_FinishOperation(desc, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    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