Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 220 for TF (0.14 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    void TF_DeleteAbstractTensor(TF_AbstractTensor*);
    
    // TF_OutputList holds the list of TF_AbstractTensor that results from executing
    // an operation, or provided to create a function.
    // When executing an operation in an eager context, the expected number of
    // outputs must be set beforehand with `TF_OutputListSetNumOutputs`.
    typedef struct TF_OutputList TF_OutputList;
    TF_OutputList* TF_NewOutputList();
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
    TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out);
    TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
                                                           const char* arg_name,
                                                           TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->cond_output = {less_than, 0};
    
        TF_Operation* add1 = Add(params->body_inputs[0], params->body_inputs[1],
                                 params->body_graph, s_, "add1");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Operation* one = ScalarConst(1, params->body_graph, 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)
  4. tensorflow/c/env.cc

    }
    
    void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Sync());
    }
    
    void TF_FlushWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status_)) << TF_Message(status_);
      TF_SetStatus(status_, TF_OK, "");
      WriteString(path, "test");
      ASSERT_TF_OK(status_);
      tf_gcs_filesystem::PathExists(filesystem_, path.c_str(), status_);
      EXPECT_TF_OK(status_);
    }
    
    TEST_F(GCSFilesystemTest, GetChildren) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_);
      const std::string base = GetURIForPath("GetChildren");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_test.cc

                                       TF_Status* status) {
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> body(TF_NewGraph(),
                                                                TF_DeleteGraph);
      TF_OperationDescription* placeholder_desc =
          TF_NewOperation(body.get(), "Placeholder", "Placeholder");
      TF_SetAttrType(placeholder_desc, "dtype", TF_FLOAT);
    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)
  7. tensorflow/c/eager/custom_device_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> resolved_value(
          TFE_TensorHandleResolve(var_value_unpacked, status.get()),
          TF_DeleteTensor);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(111., *static_cast<float*>(TF_TensorData(resolved_value.get())));
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/BUILD

    # Experimental gcs filesystem plugin.
    load("//tensorflow:tensorflow.bzl", "get_win_copts", "tf_cc_shared_object", "tf_cc_test")
    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    # Filesystem implementation for GCS environments
    tf_cc_shared_object(
        name = "gcs_filesystem",
        framework_so = [],
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/grappler/grappler_test.cc

          for (int i = 0; i < out_props_buf.size(); i++)
            TF_DeleteBuffer(out_props_buf[i]);
        }
      }
      TF_DeleteStatus(status);
      TF_DeleteGraphProperties(graph_properties);
      TF_ASSERT_OK(cluster->Shutdown());
    }
    
    TEST(TF_FunctionLibraryDefinition, LookUpOpDef) {
      TF_Buffer* g_buf = TF_NewBuffer();
      TF_Buffer* op_buf = TF_NewBuffer();
      TF_Status* status = TF_NewStatus();
      GraphDef g_def;
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. tensorflow/api_template.__init__.py

    _API_MODULE = _sys.modules[__name__].bitwise
    _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__))
    _current_module = _sys.modules[__name__]
    
    if not hasattr(_current_module, "__path__"):
      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
Back to top