Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for fakefs (0.5 sec)

  1. tensorflow/c/experimental/gradients/array_grad.cc

        for (int i = 0; i < grad_outputs.size(); i++) {
          auto grad_input = grad_outputs[i];
          // TODO(srbs): Should we add a copy contructor to AbstractTensorHandle
          // that takes care of this similar to `Tensor`?
          if (grad_input) {
            grad_input->Ref();
          }
          grad_inputs[i] = grad_input;
        }
        return absl::OkStatus();
      }
      ~IdentityNGradientFunction() override {}
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.h

    // Platform-specific implementation to return an unused port. (This should used
    // in tests only.)
    TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void);
    
    // Fast path method that makes constructing a single scalar tensor require less
    // overhead and copies.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar(
        TF_DataType data_type, void* data, size_t len, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. ci/devinfra/docker_windows/Dockerfile

    FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
    
    # Set default powershell policy for this script (ProgressPreference='SilentlyContinue' makes
    # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $VerbosePreference = 'Continue';"]
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  4. ci/official/utilities/code_check_full.bats

        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    repeats of these filename(s) with different casing:
    EOF
        find . | tr '[A-Z]' '[a-z]' | sort | uniq -d | tee $BATS_FILE_TMPDIR/repeats
        [[ ! -s $BATS_FILE_TMPDIR/repeats ]]
    }
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      void DeleteGradient(int64_t tensor_id);
    
      // Runs forward autodiff. Should be called whenever a new operation is
      // available and the accumulator is active.
      //
      // Like GradientTape::RecordOperation, this method takes the operation type
      // `op_type` (e.g. "Add"), the operation's inputs (`input_tensors`,
      // `input_tensor_id`, and `input_dtypes`; the latter two are somewhat
    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)
  6. configure.py

        var_default: (String) default value string.
        ask_for_var: (String) string for how to ask for user input.
        check_success: (Function) function that takes one argument and returns a
          boolean. Should return True if the value provided is considered valid. May
          contain a complex error message if error_msg does not provide enough
    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)
  7. .bazelrc

    build:windows --copt=/d2ReducedOptimizeHugeFunctions
    build:windows --host_copt=/d2ReducedOptimizeHugeFunctions
    
    # Enable the runfiles symlink tree on Windows. This makes it possible to build
    # the pip package on Windows without an intermediate data-file archive, as the
    # build_pip_package script in its current form (as of Aug 2023) uses the
    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. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

          r._elem.remove(testsuite._elem)
      if len(r) > 0:  # pylint: disable=g-explicit-length-test
        result += r
    
    # Insert the number of failures for each test to help identify flakes
    # need to clarify for shard
    for p in result._elem.xpath(".//error | .//failure"):
      key = re.sub(r"0x\w+", "", p.getparent().get("name", "")) + p.text
      p.text = runfiles_matcher.sub("[testroot]/", p.text)
    Python
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/grappler/grappler_test.cc

      std::unique_ptr<SingleMachine> cluster(new SingleMachine(5 * 60, 3, 0));
      TF_ASSERT_OK(cluster->Provision());
    
      TrivialTestGraphInputYielder fake_input(4, 1, 10, false,
                                              cluster->GetDeviceNames());
      GrapplerItem item;
      CHECK(fake_input.NextItem(&item));
    
      TF_Status* status = TF_NewStatus();
      TF_GraphProperties* graph_properties =
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. ci/official/upload.sh

    # "/path/bar". This script uses "gsutil rsync" instead, which acts on directory
    # contents. About arguments to gsutil:
    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top