Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for tf (0.15 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    
    void TF_DeleteDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) {
      status->status = absl::OkStatus();
      if (s == nullptr) return;
      delete s->session;
      delete s;
    }
    
    void TF_ExtendGraph(TF_DeprecatedSession* s, const void* proto,
                        size_t proto_len, TF_Status* status) {
    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_test.c

      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

    TEST(CAPI, SessionOptions) {
      TF_SessionOptions* opt = TF_NewSessionOptions();
      TF_DeleteSessionOptions(opt);
    }
    
    TEST(CAPI, DeprecatedSession) {
      TF_Status* s = TF_NewStatus();
      TF_SessionOptions* opt = TF_NewSessionOptions();
      TF_DeprecatedSession* session = TF_NewDeprecatedSession(opt, s);
      TF_DeleteSessionOptions(opt);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
    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/c_api_function.cc

        stack_traces[n->name()] = n->GetStackTrace();
      }
    
      TF_Function* tf_function = new TF_Function();
      tf_function->record = new tensorflow::FunctionRecord(
          std::move(fdef), std::move(stack_traces), false);
    
      return tf_function;
    }
    
    TF_Function* TF_GraphToFunction(const TF_Graph* fn_body, const char* fn_name,
                                    unsigned char append_hash_to_fn_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  5. tensorflow/c/c_api_experimental.cc

      // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`.
      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
      return new TF_AttrBuilder(op_name);
    }
    
    void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; }
    
    void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
                               TF_DataType value) {
    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)
  6. configure.py

      if tf_cuda_paths:
        environ_cp['TF_CUDA_PATHS'] = tf_cuda_paths
    
    
    def set_tf_cuda_version(environ_cp):
      """Set TF_CUDA_VERSION."""
      ask_cuda_version = (
          'Please specify the CUDA SDK version you want to use. '
          '[Leave empty to default to CUDA %s]: ') % _DEFAULT_CUDA_VERSION
      tf_cuda_version = get_from_env_or_user_or_default(environ_cp,
                                                        'TF_CUDA_VERSION',
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. .github/workflows/update-rbe.yml

            # This is a mapping of name_container_map keys under sigbuild_tf_configs
            # to tag names on gcr.io/tensorflow-sigs/build.
            # TF 2.9
            map sigbuild-r2.9 2.9-python3.9
            map sigbuild-r2.9-python3.8 2.9-python3.8
            map sigbuild-r2.9-python3.9 2.9-python3.9
            map sigbuild-r2.9-python3.10 2.9-python3.10
            # TF 2.10
            map sigbuild-r2.10 2.10-python3.9
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. RELEASE.md

    * `tf.ones`, `tf.zeros`, `tf.fill`, `tf.ones_like`, `tf.zeros_like` now take an additional Layout argument that controls the output layout of their results.
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. tensorflow/c/eager/c_api_experimental.cc

        return;
      }
      auto* state_iter = static_cast<TF_Status*>(states);
      for (size_t i = 0; i < tasks.length; ++i) {
        const auto& result = (*results)[i];
        TF_Status s;
        TF_SetStatus(&s, static_cast<TF_Code>(result.error_code()),
                     std::string(result.error_message()).data());
        if (TF_GetCode(&s) != TF_Code::TF_OK) {
          tensorflow::CoordinationServiceError error;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  10. WORKSPACE

    # a macro from that repository in the same file.
    load("@//tensorflow:workspace3.bzl", "tf_workspace3")
    
    tf_workspace3()
    
    load("@//tensorflow:workspace2.bzl", "tf_workspace2")
    
    tf_workspace2()
    
    load("@//tensorflow:workspace1.bzl", "tf_workspace1")
    
    tf_workspace1()
    
    load("@//tensorflow:workspace0.bzl", "tf_workspace0")
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
Back to top