Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

          "SparseSoftmaxCrossEntropyWithLogits"));
      // `gradient_checker` only works with model that returns only 1 tensor.
      // Although, `ops::SparseSoftmaxCrossEntropyWithLogits` returns 2 tensors, the
      // second tensor isn't needed for computing gradient so we could safely drop
      // it.
      outputs[0] = loss;
      backprop->Unref();
      return absl::OkStatus();
    }
    
    Status BiasAddModel(AbstractContext* ctx,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    void RamFileBlockCache::Trim() {
      while (!lru_list_.empty() && cache_size_ > max_bytes_) {
        RemoveBlock(block_map_.find(lru_list_.back()));
      }
    }
    
    /// Move the block to the front of the LRU list if it isn't already there.
    void RamFileBlockCache::UpdateLRU(const Key& key,
                                      const std::shared_ptr<Block>& block,
                                      TF_Status* status) {
      absl::MutexLock lock(&mu_);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        s->status = InvalidArgument("TF_WhileParams `cond_output` field isn't set");
        return false;
      }
      for (int i = 0; i < params.ninputs; ++i) {
        if (params.body_outputs[i].oper == nullptr) {
          s->status = InvalidArgument("TF_WhileParams `body_outputs[", i, "]` ",
                                      "field isn't set");
          return false;
        }
      }
      if (params.name == nullptr) {
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

            tensorflow::io::JoinPath(root_dir_, path);
        // We have already checked `GetParam().empty()` in
        // `ModularFileSystemTest()`. root_dir_ should contain `GetParam() + "://"`
        // if it isn't empty.
        return translated_name;
      }
    
      // Converts absolute paths to paths relative to root_dir_.
      StringPiece GetRelativePath(StringPiece absolute_path) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. ci/official/requirements_updater/README.md

    unless indicated otherwise.
    
    1) Add the new version to the `VERSIONS` variable inside
       `tensorflow/tools/toolchains/python/python_repo.bzl`. \
       While this isn't necessary for running the updater, it is required for
       actually using the new version with Tensorflow.
    
    2) In the `WORKSPACE` file, add the new version to the `python_versions`
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/array_grad_test.cc

      std::vector<AbstractTensorHandle*> temp_outputs(2);
      TF_RETURN_IF_ERROR(
          ops::IdentityN(ctx, inputs, absl::MakeSpan(temp_outputs), "IdentityN"));
      // Although, `ops::IdentityN` returns 2 tensors, the first tensor isn't needed
      // for computing gradient so we could safely drop it.
      outputs[0] = temp_outputs[1];
      temp_outputs[0]->Unref();
      return absl::OkStatus();
    }
    
    class CppGradients
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tape.h

          const std::function<void(BackwardFunction*)>& backward_function_deleter);
    
      // Returns true if `Accumulate` is active somewhere above on the stack and
      // there isn't an intervening PushState. This is useful for ordering
      // ForwardAccumulators, where more deeply nested accumulators should not see
      // computations from less deeply nested accumulators.
    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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        read = 0;
      } else if (!absl::SimpleAtoi(content_length->second, &read)) {
        TF_SetStatus(status, TF_UNKNOWN, "Could not get content-length header");
        return -1;
      }
      // `TF_OUT_OF_RANGE` isn't considered as an error. So we clear it here.
      TF_SetStatus(status, TF_OK, "");
      TF_VLog(1, "Successful read of %s @ %u of size: %u", path.c_str(), offset,
              read);
      stream.read(buffer, read);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    }
    
    ::testing::AssertionResult CompareSubString(int64_t offset, size_t length,
                                                absl::string_view result,
                                                size_t read) {
      // Result isn't a null-terminated string so we have to wrap it inside a
      // `string_view`
      if (length == read && content_view.substr(offset, length) ==
                                absl::string_view(result).substr(0, read))
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // `cond_output` and `body_outputs`.
    //
    // If `status` is OK, the caller must call either TF_FinishWhile or
    // TF_AbortWhile on the returned TF_WhileParams. If `status` isn't OK, the
    // returned TF_WhileParams is not valid, and the caller should not call
    // TF_FinishWhile() or TF_AbortWhile().
    //
    // Missing functionality (TODO):
    // - Gradients
    // - Reference-type inputs
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top