Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for source (0.17 sec)

  1. tensorflow/c/c_api_test.cc

        TF_TString_Init(&data[i]);
        // The following input string length is large enough to make sure that
        // copy to tstring in large mode.
        std::string source =
            "This is the " + std::to_string(i + 1) + "th. data element\n";
        TF_TString_Copy(&data[i], source.c_str(), source.length());
      }
    
      TF_DeleteTensor(t);
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    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_experimental.cc

                     std::string(result.error_message()).data());
        if (TF_GetCode(&s) != TF_Code::TF_OK) {
          tensorflow::CoordinationServiceError error;
          *error.mutable_source_task() = result.error_payload().source_task();
          TF_SetPayload(&s, tensorflow::CoordinationErrorPayloadKey().data(),
                        error.SerializeAsString().c_str());
        }
        *state_iter = std::move(s);
        ++state_iter;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/c_api.cc

        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
        if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString(
                string(static_cast<const char*>(tensor_interface->Data()),
                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  4. configure.py

                os.path.exists(os.path.join(path, 'source.properties')))
    
      android_ndk_home_path = prompt_loop_or_load_from_env(
          environ_cp,
          var_name='ANDROID_NDK_HOME',
          var_default=default_ndk_path,
          ask_for_var='Please specify the home path of the Android NDK to use.',
          check_success=valid_ndk_path,
          error_msg=('The path %s or its child file "source.properties" '
                     'does not exist.'))
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  5. RELEASE.md

            `tf.lookup.StaticHashTable.__init__` to create the table in anonymous
            mode. In this mode, the table resource can only be accessed via resource
            handles (not resource names) and will be deleted automatically when all
            resource handles pointing to it are gone.
    *   `tf.data`:
        *   Introduce the `tf.data.experimental.at` API which provides random access
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. .bazelrc

    build:win_clang --host_platform=//tensorflow/tools/toolchains/win:x64_windows-clang-cl
    build:win_clang --compiler=clang-cl
    build:win_clang --linkopt=/FORCE:MULTIPLE
    build:win_clang --host_linkopt=/FORCE:MULTIPLE
    test:win_clang --linkopt=/FORCE:MULTIPLE
    test:win_clang --host_linkopt=/FORCE:MULTIPLE
    
    # Same config as above but for XLA, which has different toolchain paths
    build:win_clang_xla --copt=/clang:-Weverything
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top