Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for if (0.35 sec)

  1. tensorflow/c/c_api.cc

              } else if (typestr == "list(float)") {
                metadata.type = TF_ATTR_FLOAT;
              } else if (typestr == "list(bool)") {
                metadata.type = TF_ATTR_BOOL;
              } else if (typestr == "list(type)") {
                metadata.type = TF_ATTR_TYPE;
              } else if (typestr == "list(shape)") {
                metadata.type = TF_ATTR_SHAPE;
              } else if (typestr == "list(tensor)") {
    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_test.c

      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status));
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

        Node* node = inputs[i].oper ? &inputs[i].oper->node : nullptr;
        int idx = inputs[i].index;
    
        TF_RETURN_WITH_CONTEXT_IF_ERROR(
            fn_body->graph.IsValidOutputTensor(node, idx),
            "Encountered while processing input ", i, " into function '", fn_name,
            "'");
        TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx),
                                        "Encountered while processing input ", i,
    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)
  4. tensorflow/c/c_api_test.cc

      while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) {
        if (oper == feed) {
          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
        } else if (oper == three) {
          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (oper == add) {
          EXPECT_FALSE(found_add);
          found_add = true;
        } else if (oper == neg) {
          EXPECT_FALSE(found_neg);
    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. configure.py

        gcc_env = get_gcc_compiler(environ_cp)
        if gcc_env is not None:
    
          # Use gold linker if 'gcc' and if 'ppc64le'
          write_to_bazelrc('build --linkopt="-fuse-ld=gold"')
    
          # Get the linker version
          ld_version = run_shell([gcc_env, '-Wl,-version']).split()
    
          ld_version_int = convert_version_to_int(ld_version[3])
          if ld_version_int is None:
    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)
  6. tensorflow/c/c_api_experimental.cc

      if (!status->status.ok()) return nullptr;
    
      if (input_index >= op_def->input_arg_size() || input_index < 0) {
        status->status = tensorflow::errors::InvalidArgument(
            input_index, " out of range for ", op_name);
        return nullptr;
      }
    
      const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index];
    
      if (input_arg.number_attr().empty()) {
    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

    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    build --enable_platform_specific_config
    
    # Enable XLA support by default.
    build --define=with_xla_support=true
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    build --config=short_logs
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    build --config=v2
    
    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)
  8. .github/workflows/update-rbe.yml

    name: Update RBE Configs
    on:
      workflow_dispatch:
    
    permissions:
      contents: read
    
    jobs:
      rbe:
        name: Update RBE Configs
        runs-on: ubuntu-latest
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        steps:
        - name: Checkout code
          uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
        - name: Update the RBE Configs
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.cc

        dimvec[i] = static_cast<int64_t>(dims[i]);
      }
    
      if (ctx == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid Context");
        return nullptr;
      }
    
      tensorflow::AbstractTensorInterface* t =
          tensorflow::unwrap(ctx)->CreateTensor(
              static_cast<tensorflow::DataType>(dtype), dimvec);
    
      if (t == nullptr) {
        status->status =
    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)
  10. tensorflow/BUILD

    load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "bool_setting")
    load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda")
    load(
        "//tensorflow:tensorflow.bzl",
        "VERSION",
        "VERSION_MAJOR",
        "check_deps",
        "if_google",
        "if_oss",
        "if_xla_available",
        "tf_cc_shared_object",
        "tf_custom_op_library_additional_deps_impl",
        "tf_monitoring_python_deps",
    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