Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 506 for capi (0.04 sec)

  1. tensorflow/c/eager/BUILD

        licenses = ["notice"],
    )
    
    tf_cuda_library(
        name = "c_api",
        srcs = [
            "c_api.cc",
            "c_api_debug.cc",
            "c_api_experimental.h",
            "c_api_internal.h",
            "c_api_unified_experimental.h",
        ],
        hdrs = ["c_api.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = select({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. pkg/registry/rbac/helpers_test.go

    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	kapi "k8s.io/kubernetes/pkg/apis/core"
    	kapihelper "k8s.io/kubernetes/pkg/apis/core/helper"
    
    	fuzz "github.com/google/gofuzz"
    )
    
    func newPod() *kapi.Pod {
    	return &kapi.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Annotations:     map[string]string{},
    			Name:            "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/c/BUILD

        deps = [
            ":tf_status",
            "//tensorflow/core:lib",
            "//tensorflow/core:lib_internal",
        ],
    )
    
    tf_cuda_library(
        name = "c_api",
        hdrs = [
            "c_api.h",
            "tf_attrtype.h",
            "tf_buffer.h",
            "tf_datatype.h",
            "tf_file_statistics.h",
            "tf_status.h",
            "tf_tensor.h",
            "tf_tstring.h",
        ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. test/escape_reflect.go

    	return v.Len()
    }
    
    func cap1(x []int) int { // ERROR "x does not escape"
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    	return v.Cap()
    }
    
    func cap2(x [3]int) int {
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    	return v.Cap()
    }
    
    func cap3(x chan int) int { // ERROR "x does not escape"
    	v := reflect.ValueOf(x)
    	return v.Cap()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/custom_device_testutil.h

    #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_status.h"
    
    void RegisterLoggingDevice(TFE_Context* context, const char* name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. ci/official/wheel_test/test_import_api_packages.py

    """Import API packages test.
    
    This is a Python test that verifies whether API v2 packages can be imported
    from the current build or not.
    
    It uses the `_api/v2/api_packages.txt` file from the local wheel file.
    The `_api/v2/api_packages.txt` file is created during the process of generating
    TensorFlow API v2 init files and is stored in the wheel file after the build.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 13 15:52:07 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/BUILD

    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "c_api",
        srcs = ["c_api.cc"],
        hdrs = ["c_api.h"],
        visibility = ["//visibility:public"],
        deps = [
            ":tensor_pjrt_buffer_util",
            "//tensorflow/c:c_api_macros_hdrs",
            "//tensorflow/c:kernels_experimental_hdrs",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/c_api.h"
    
    #include <algorithm>
    #include <cstring>
    #include <limits>
    #include <memory>
    #include <optional>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/match.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. tensorflow/c/safe_ptr.h

    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_SAFE_PTR_H_
    #define TENSORFLOW_C_SAFE_PTR_H_
    
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    
    namespace tensorflow {
    namespace detail {
    
    struct TFTensorDeleter {
      void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); }
    };
    
    struct TFETensorHandleDeleter {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 22 19:17:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/mime/type_test.go

    	const caps = "test/test; WAS=ALLCAPS"
    
    	cleanup := setMimeInit(func() {
    		clearMimeTypes()
    		setType(".TEST", caps)
    		setType(".tesT", custom)
    	})
    	defer cleanup()
    
    	// case-sensitive lookup
    	if got := TypeByExtension(".tesT"); got != custom {
    		t.Fatalf("for .tesT, got %q; want %q", got, custom)
    	}
    	if got := TypeByExtension(".TEST"); got != caps {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 21:09:03 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top