Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for type (0.2 sec)

  1. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    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)
  2. tensorflow/c/eager/c_api_test.cc

                name_and_attrs.attr().find("dtype")->second.type());
      TF_DeleteBuffer(serialized_attr_values);
    
      TFE_Op* var_op_2 = TFE_NewOp(ctx, "VarHandleOp", status);
    
      string serialized_dtype;
      ASSERT_TRUE(name_and_attrs.attr().find("dtype")->second.SerializeToString(
          &serialized_dtype));
      TFE_OpSetAttrValueProto(
          var_op_2, "dtype",
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    // depending on the type of the string argument. We don't use these macros, so
    // undefine them here.
    #undef CopyFile
    #undef DeleteFile
    #undef TranslateName
    #endif  // defined(PLATFORM_WINDOWS)
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
      // Total size the attribute value.
      // The units of total_size depend on is_list and type.
      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
    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)
  5. .bazelrc

    build:release_linux_base --config=avx_linux
    
    # Enable support for all targets
    build:release_base --config=cpu_cross
    
    # Disable clang extension that rejects type definitions within offsetof.
    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  6. configure.py

      print('You have Clang %s installed.\n' % curr_version)
      return curr_version
    
    
    # Disable clang extension that rejects type definitions within offsetof.
    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Still required for clang-17.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp. See
    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. tensorflow/c/experimental/filesystem/filesystem_interface.h

    typedef struct TF_Filesystem_Option_Value {
      int type_tag;    // type of values in the values union
      int num_values;  // number of values
      TF_Filesystem_Option_Value_Union*
          values;  // owned (plugins must make a copy if storing this)
    } TF_Filesystem_Option_Value;
    
    typedef enum TF_Filesystem_Option_Type {
      TF_Filesystem_Option_Type_Int = 0,
      TF_Filesystem_Option_Type_Real,
      TF_Filesystem_Option_Type_Buffer,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function_test.cc

    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    // Specification for expected input/output and its type.
    // DataType value of DT_INVALID signifies that we don't want to
    // check the data type.
    typedef std::pair<string, DataType> IOSpec;
    
    const char* kFeedStackToString = "File \"feed.cc\", line 10, in alpha";
    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)
  9. tensorflow/BUILD

            [],
        ),
        values = {
            "apple_platform_type": "macos",
            "cpu": "darwin",
        },
    )
    
    config_setting(
        name = "macos_x86_64_crosscompile",
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:macos"],
            [],
        ),
        values = {
            "apple_platform_type": "macos",
            "cpu": "darwin_x86_64",
        },
    )
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top