Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Next (0.13 sec)

  1. tensorflow/c/c_api.cc

        status->status = FailedPrecondition(
            "TF_ApiDefMapPut cannot be called after TF_ApiDefMapGet has been "
            "called.");
        return;
      }
      string api_def_text(text, text_len);
      status->status = api_def_map->api_def_map.LoadApiDef(api_def_text);
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    TF_Buffer* TF_ApiDefMapGet(TF_ApiDefMap* api_def_map, const char* name,
    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)
  2. tensorflow/c/c_api_experimental.cc

    }
    
    TF_Buffer* TFE_GetServerDef(const char* text_proto, TF_Status* status) {
      tensorflow::ServerDef server_def;
      if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto,
                                                             &server_def)) {
        status->status = tensorflow::errors::Internal(
            "Invalid text proto for ServerDef: ", text_proto);
        return nullptr;
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/experimental/next_pluggable_device/c_api.h"
    
    #include <cstdint>
    #include <cstdlib>
    #include <memory>
    #include <string>
    #include <string_view>
    #include <utility>
    #include <vector>
    
    #include "absl/status/status.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      {
        tensorflow::mutex_lock l(execution_mutex_);
        while (execution_state_ != ExecutionState::kIdle) {
          // If there's already a pending execution, wait until Join finishes before
          // starting on the next operation.
          finished_join_.wait(l);
        }
        context_ = context;
        operation_name_ = operation_name;
        step_id_ = step_id;
        op_inputs_ = inputs;
        attributes_ = attributes;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(t);
      EXPECT_TRUE(deallocator_called);
    }
    
    TEST(CAPI, LibraryLoadFunctions) {
      // TODO(b/73318067): Fix linking for the GPU test generated by the
      // tf_cuda_cc_test() bazel rule and remove the next line.
      if (!GPUDeviceName().empty()) return;
    
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        // Load the library.
        TF_Status* status = TF_NewStatus();
    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)
Back to top