Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for have (0.15 sec)

  1. tensorflow/c/c_api.h

    // inferred from an input and doesn't have a default value you wish to
    // keep.
    
    // `value` must point to a string of length `length` bytes.
    TF_CAPI_EXPORT extern void TF_SetAttrString(TF_OperationDescription* desc,
                                                const char* attr_name,
                                                const void* value, size_t length);
    // `values` and `lengths` each must have lengths `num_values`.
    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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

            "_", /*replace_all=*/true);
        if (!cloud_path_.empty()) {
          // We have to join path for non-local filesystem manually to make sure
          // that this test will run on Windows since `tensorflow::io::JoinPath`
          // behaves differently on Windows. `tmp_dir` should be something like
          // `path/to/tmp/dir/`. After joining path, we will have
          // /path/to/tmp/dir/tf_fs_rng_name/`
          root_dir_ = tensorflow::strings::StrCat(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

        int num_retvals = 1;
        TFE_Execute(matmul, &retvals[0], &num_retvals, status.get());
        ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
        // The CPU handle should have been copied and have a mirror on the GPU
        ASSERT_TRUE(cpu_arg->HasLocalMirror(gpu_device));
    
        TFE_DeleteOp(matmul);
        TFE_DeleteTensorHandle(retvals[0]);
        TFE_DeleteTensorHandle(hgpu);
      }
    
    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)
  4. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(fetchValues[1]);
    }
    
    // REGISTER_OP for CApiAttributesTest test cases.
    // Registers two ops, each with a single attribute called 'v'.
    // The attribute in one op will have a type 'type', the other
    // will have list(type).
    #define ATTR_TEST_REGISTER_OP(type)                           \
      REGISTER_OP("CApiAttributesTestOp" #type)                   \
          .Attr("v: " #type)                                      \
    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)
  5. .bazelrc

    # TODO: also enable this flag after fixing the visibility violations
    # build --incompatible_config_setting_private_default_visibility
    
    # Default options should come above this line.
    
    # Android configs. Bazel needs to have --cpu and --fat_apk_cpu both set to the
    # target CPU to build transient dependencies correctly. See
    # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu
    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

      # Check if current bazel version can be detected properly.
      if not curr_version_int:
        print('WARNING: current bazel installation is not a release version.')
        return curr_version
    
      print('You have bazel %s installed.' % curr_version)
      return curr_version
    
    
    def set_cc_opt_flags(environ_cp):
      """Set up architecture-dependent optimization flags.
    
      Also append CC optimization flags to bazel.rc..
    
    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

    /// TensorFlow but can be used by each filesystem plugin to represent internal
    /// data.
    ///
    /// We prefer to have these structures instead of passing `void*` into
    /// method signatures to have some type of type safety: for example, operations
    /// that are only valid on random access files have a `TF_RandomAccessFile`
    /// argument.
    ///
    /// Lifetime: The wrapper data structures are owned by core TensorFlow. The data
    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

              << "Failed to find expected control edge " << e.ToString()
              << " in fdef: " << fdef.DebugString();
        }
    
        // If caller specified all edges, check that we have seen all
        if (is_exact_edges) {
          ASSERT_EQ(e_edges.size() + c_edges.size(), a_edges.size())
              << "Expected edges: " << ToString(e_edges)
              << " Expected Control edges: " << ToString(c_edges)
    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

    config_setting(
        name = "fuchsia",
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:fuchsia"],
            [],
        ),
        values = if_oss(
            # TODO(b/149248802) When we have a Fuchsia Bazel SDK update to use the values it sets.
            {"cpu": "fuchsia"},
            {},
        ),
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "fuchsia_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