Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for optref (0.08 sec)

  1. tensorflow/c/c_api_function_test.cc

      // Test we can retrieve function OpDef from graph
      TF_Buffer* buffer = TF_NewBuffer();
      TF_GraphGetOpDef(host_graph_, func_name_, buffer, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Sanity check returned OpDef
      string data(static_cast<const char*>(buffer->data), buffer->length);
      OpDef op_def;
      op_def.ParseFromString(data);
      EXPECT_EQ(op_def.name(), func_name_);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // Creates a new TF_ApiDefMap instance.
    //
    // Params:
    //  op_list_buffer - TF_Buffer instance containing serialized OpList
    //    protocol buffer. (See
    //    https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto
    //    for the OpList proto definition).
    //  status - Set to OK on success and an appropriate error on failure.
    TF_CAPI_EXPORT extern TF_ApiDefMap* TF_NewApiDefMap(TF_Buffer* op_list_buffer,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

        ASSERT_GE(op_list.op_size(), 1);
        typedef tensorflow::protobuf::RepeatedPtrField<tensorflow::OpDef> OpDefs;
        const OpDefs& ops = op_list.op();
        bool found = std::find_if(ops.begin(), ops.end(),
                                  [](const tensorflow::OpDef& op_def) {
                                    return op_def.name() == "TestCApi";
                                  }) != ops.end();
        EXPECT_TRUE(found);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. .bazelrc

    build:windows --host_copt=/Zc:preprocessor
    
    # Misc build options we need for windows.
    build:windows --linkopt=/DEBUG
    build:windows --host_linkopt=/DEBUG
    build:windows --linkopt=/OPT:REF
    build:windows --host_linkopt=/OPT:REF
    build:windows --linkopt=/OPT:ICF
    build:windows --host_linkopt=/OPT:ICF
    
    # Verbose failure logs when something goes wrong
    build:windows --verbose_failures
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test.cc

      TFE_OpAddInput(concatOp, dim, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      CHECK(tensorflow::unwrap(concatOp)->OpDef());
      TFE_OpAddInput(concatOp, inputs[0], status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      EXPECT_FALSE(tensorflow::unwrap(concatOp)->OpDef())
          << "Inference context is still present";
      TFE_OpAddInput(concatOp, inputs[1], status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top