Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Larsen (0.2 sec)

  1. tensorflow/c/c_api.cc

      // make sure there is no information loss.
      if (proto_len > std::numeric_limits<int>::max()) {
        status->status = InvalidArgument(
            "proto_len (", proto_len,
            " bytes) is too large to be parsed by the protocol buffer library");
        return;
      }
      TensorShapeProto shape;
      if (shape.ParseFromArray(proto, static_cast<int>(proto_len))) {
        desc->node_builder.Attr(attr_name, shape);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack.cc

      const char* device_name =
          tensorflow::unwrap(h)->BackingDeviceName(&status->status);
      DeviceNameUtils::ParsedName parsed_name;
      tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name);
      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        }
      }
      std::vector<std::string> local_names;
      local_names.reserve(underlying_devices_.size());
      for (const DeviceNameUtils::ParsedName& parsed_component :
           parsed_components) {
        local_names.push_back(
            absl::StrCat(parsed_component.type, ":", parsed_component.id));
      }
      return local_names;
    }
    
    std::unique_ptr<ParallelTensor> ParallelTensor::FromTensorHandles(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // become available after a shared object with a filesystem implementation is
    // loaded, we can only check for availability after all arguments have been
    // parsed.
    //
    // Furthermore, as `INSTANTIATE_TEST_SUITE_P` needs to be at global level and we
    // don't want to have a `std::vector<std::string>` at global level, we use a
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top