Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for end (0.13 sec)

  1. tensorflow/c/c_api_test.cc

        const OpDefs& ops = op_list.op();
        bool found = std::find_if(ops.begin(), ops.end(),
                                  [](const tensorflow::OpDef& op_def) {
                                    return op_def.name() == "TestCApi";
                                  }) != ops.end();
        EXPECT_TRUE(found);
        TF_DeleteBuffer(op_list_buffer);
      }
    }
    
    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/tape.h

      for (int i = 0, end = target_tensor_ids.size(); i < end; ++i) {
        const int64_t id = target_tensor_ids[i];
        if (output_gradients.empty() || output_gradients[i] == nullptr) {
          auto tensor_it = tensor_tape.find(id);
          if (tensor_it != tensor_tape.end() && tensor_it->second != -1) {
            auto op_it = op_tape.find(tensor_it->second);
            if (op_it == op_tape.end()) {
              return errors::Internal(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  3. tensorflow/BUILD

    # load("//devtools/copybara/rules:copybara.bzl", "copybara_config_test")
    # load("@rules_license//rules:license.bzl", "license")
    # # buildifier: enable=out-of-order-load
    # copybara:uncomment_end
    
    # copybara:comment_begin(oss-only)
    load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
    load(
        "//tensorflow/python/tools/api/generator:api_gen.bzl",
        "get_compat_files",
        "get_nested_compat_files",
    )
    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)
  4. tensorflow/c/c_api.cc

      GraphDef g;
      if (!tensorflow::ParseProtoUnlimited(&g, proto, proto_len)) {
        status->status = InvalidArgument("Invalid GraphDef");
        return;
      }
      status->status = s->session->Extend(g);
    }
    
    }  // end extern "C"
    
    // Reset helper for converting character arrays to string vectors.
    static void TF_Reset_Helper(const TF_SessionOptions* opt,
                                const char** containers, int ncontainers,
    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)
  5. tensorflow/c/c_api_function.cc

        input_tensors->emplace_back(node, idx);
    
        const auto& iter = input_nodes->find(node);
        if (iter == input_nodes->end()) {
          input_nodes->insert({node, {idx}});
        } else {
          auto& indices = iter->second;
          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  6. tensorflow/c/c_api_experimental.cc

        TF_DeleteCheckpointReader(reader);
        return nullptr;
      }
      const auto& m = reader->GetVariableToDataTypeMap();
      for (auto it = m.begin(); it != m.end(); ++it)
        reader->variable_list.push_back(it->first);
      std::sort(reader->variable_list.begin(), reader->variable_list.end());
      return reader;
    }
    
    void TF_DeleteCheckpointReader(TF_CheckpointReader* reader) { delete reader; }
    
    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)
  7. .bazelrc

    # Limit jobs to 100 to avoid running into "out of memory" issues (b/316266643)
    build:rbe_cross_compile_macos_x86 --jobs=100
    test:rbe_cross_compile_macos_x86 --jobs=100
    # END MACOS CROSS-COMPILE CONFIGS
    # END CROSS-COMPILE CONFIGS
    
    # Try to load the XLA warnings config if available
    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)
  8. .github/workflows/update-rbe.yml

              # as docker-content-digest: sha256:[digest]. Note we use egrep to
              # match exactly sha256:<hash> because curl may include a ^M symbol at
              # the end of the line.
              # See https://cloud.google.com/architecture/using-container-images#exploring_image_manifests_digests_and_tags
              echo -n "Trying to map name $1 to tag $2... "
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/BUILD

            # copybara:uncomment_begin(google-only)
            # "//tensorflow/cc/experimental/tf2:__pkg__",
            # "//tensorflow/cc/experimental/tf2:__subpackages__",
            # copybara:uncomment_end
            "//tensorflow/compiler/mlir/tensorflow/c:__subpackages__",
            "//tensorflow/core/transforms:__subpackages__",
        ],
        deps = [
            ":c_api_macros_hdrs",
            "@local_tsl//tsl/platform:status",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental.cc

      // Remove the device that has the host device name since host device is alreay
      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    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)
Back to top