Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 436 for capi (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/c_api.h

    // C API for TensorFlow.
    //
    // The API leans towards simplicity and uniformity instead of convenience
    // since most usage will be by language specific wrappers.
    //
    // Conventions:
    // * We use the prefix TF_ for everything in the API.
    // * Objects are always passed around as pointers to opaque structs
    //   and these structs are allocated/deallocated via the API.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. src/syscall/exec_linux.go

    	effective   uint32
    	permitted   uint32
    	inheritable uint32
    }
    type caps struct {
    	hdr  capHeader
    	data [2]capData
    }
    
    // See CAP_TO_INDEX in linux/capability.h:
    func capToIndex(cap uintptr) uintptr { return cap >> 5 }
    
    // See CAP_TO_MASK in linux/capability.h:
    func capToMask(cap uintptr) uint32 { return 1 << uint(cap&31) }
    
    // cloneArgs holds arguments for clone3 Linux syscall.
    type cloneArgs struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. operator/pkg/helm/helm.go

    		return "", fmt.Errorf("failed to unmarshal values: %v", err)
    	}
    
    	caps := *chartutil.DefaultCapabilities
    
    	// overwrite helm default capabilities
    	operatorVersion, _ := chartutil.ParseKubeVersion("1." + strconv.Itoa(k8sversion.MinK8SVersion) + ".0")
    	caps.KubeVersion = *operatorVersion
    
    	if version != nil {
    		caps.KubeVersion = chartutil.KubeVersion{
    			Version: version.GitVersion,
    			Major:   version.Major,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_status.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    
    // --------------------------------------------------------------------------
    // C API for device. The API is under active development and eventually
    // should allow registering a plugin device with TensorFlow.
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 20:01:06 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. ci/official/wheel_test/README.md

    description will be provided once it's integrated into presubmit.
    
    ### test_import_api_packages
    
    This Python test verifies whether the API v2 packages can be imported from the
    current build. It utilizes the `_api/v2/api_packages.txt` list of packages from
    the local wheel file specified in the `requirements_lock_<python_version>.txt`.
    
    Packages are imported one by one in alphabetical order during runtime.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 18:17:57 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top