Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for could (0.45 sec)

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

      // `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,
                        absl::Span<AbstractTensorHandle* const> inputs,
    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/posix/posix_filesystem_static.cc

      TF_FilesystemPluginInfo info;
      TF_InitPlugin(&info);
      Status status = filesystem_registration::RegisterFilesystemPluginImpl(&info);
      if (!status.ok()) {
        VLOG(0) << "Static POSIX filesystem could not be registered: " << status;
        return false;
      }
      return true;
    }
    
    // Perform the actual registration
    static bool unused = StaticallyRegisterLocalFilesystems();
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/array_grad_test.cc

      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
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

        it may slow down the tests for not running in parallel and may cause the
        test to timeout but it could be useful when you need to execute a single
        test or more in general your filtered/selected tests have a very low
        execution time and the sharding
        [could create an overhead on the test execution](https://github.com/bazelbuild/bazel/issues/2113#issuecomment-264054799).
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

        // can do its work.
        //
        // Rather than re-entering and delegating Accumulate like this, we could
        // instead allow ForwardAccumulator some control over the current tape set
        // (so it can deactivate itself and activate its GradientTape). Currently
        // that is managed by the language binding and would require relatively
        // messy callbacks.
        call_state_.top().backward_tape->RecordOperation(
    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

      if get_var(
          environ_cp, 'TF_OVERRIDE_EIGEN_STRONG_INLINE', 'Eigen strong inline',
          True, ('Would you like to override eigen strong inline for some C++ '
                 'compilation to reduce the compilation time?'),
          'Eigen strong inline overridden.', 'Not overriding eigen strong inline, '
          'some compilations could take more than 20 mins.'):
        # Due to a known MSVC compiler issue
    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. tensorflow/c/c_api.cc

      return nullptr;
    #else
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, static_cast<int>(proto_len))) {
        status->status = InvalidArgument(
            "Could not parse provided bytes into a ServerDef protocol buffer");
        return nullptr;
      }
    
      std::unique_ptr<tensorflow::ServerInterface> out_server;
      status->status = tensorflow::NewServer(server_def, &out_server);
    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)
  8. RELEASE.md

            -  It could also be a simple python or TF utility that you could easily copy over to your own codebase. In those case, just make it your own!
            -  If you believe it should definitely be a public Keras API, please open a feature request in keras GitHub repo.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. tensorflow/c/eager/c_api_experimental.h

    // APIs for generically dealing with op attributes (e.g. when forwarding them
    // through custom device implementations).
    //
    // TODO(allenl): Currently these are black boxes, but we should have some way to
    // inspect values. This would let people e.g. copy over most attributes and then
    // modify some based on their values.
    
    // A reference to an op's name -> attribute mapping
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.cc

          tensorflow::unwrap(h);
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
      if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
        return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                   unwrapped_handle)
            ->DevicePointer();
      }
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top