- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Watch (0.49 sec)
-
tensorflow/c/experimental/gradients/custom_gradient_test.cc
absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) { Tape tape(/*persistent=*/false); tape.Watch(inputs[0]); // Watch x. AbstractTensorHandle* exp_output; TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp")); std::unique_ptr<GradientFunction> gradient_function( new PassThroughGradientFunction);
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
bool use_batch) : vspace_(vspace), use_batch_(use_batch) { call_state_.emplace(nullptr, false); } virtual ~ForwardAccumulator() { for (auto accumulated : accumulated_gradients_) { vspace_.DeleteGradient(accumulated.second); } } // Tell the forward accumulator to watch tensor_id, with a Tensor tangent
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) -
tensorflow/c/experimental/gradients/grad_test_helper.cc
absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) -> Status { Tape tape(/*persistent=*/false); for (size_t i{}; i < inputs.size(); ++i) { tape.Watch(inputs[i]); } std::vector<AbstractTensorHandle*> temp_outputs(1); AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, grad_registry)); TF_RETURN_IF_ERROR(
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
void TapeVSpace::MarkAsResult(AbstractTensorHandle* gradient) const {} void TapeVSpace::DeleteGradient(AbstractTensorHandle* gradient) const { gradient->Unref(); } void Tape::Watch(const AbstractTensorHandle* t) { GradientTape::Watch(ToId(t)); } void Tape::RecordOperation(absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle* const> outputs,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
ci/official/utilities/setup.sh
# simple" is MUCH more important than "don't repeat yourself." # -e: abort script if one command fails # -u: error if undefined variable used # -x: log all commands # -o pipefail: entire command fails if pipe fails. watch out for yes | ... # -o history: record shell history # -o allexport: export all functions and variables to be available to subscripts # (affects 'source $TFCI') set -euxo pipefail -o history -o allexport
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 00:33:34 GMT 2024 - 5.2K bytes - Viewed (1) -
tensorflow/c/eager/gradients_test.cc
Status RecordOperationWithNullGradientFunctionModel( AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) { Tape tape(/*persistent=*/false); tape.Watch(inputs[0]); AbstractTensorHandle* neg_output; TF_RETURN_IF_ERROR(ops::Neg(ctx, inputs[0], &neg_output, "Neg")); tape.RecordOperation(inputs, {neg_output}, nullptr, "Neg"); return tape.ComputeGradient(ctx,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
ci/official/utilities/get_versions.sh
export TF_VER_MAJOR=$(awk '/#define TF_MAJOR_VERSION/ {print $3}' tensorflow/core/public/version.h) export TF_VER_MINOR=$(awk '/#define TF_MINOR_VERSION/ {print $3}' tensorflow/core/public/version.h) export TF_VER_PATCH=$(awk '/#define TF_PATCH_VERSION/ {print $3}' tensorflow/core/public/version.h) # Note: in awk, "print $N" prints the Nth "field", where fields are strings separated
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2.3K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
} # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines. @test "Check formatting for C++ files" { skip "clang-format doesn't match internal clang-format checker" echo "clang-format is recommended. Here are the suggested changes:" echo "============================="
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
// Compare that the graphs match. GraphDef expected_gdef; GraphDef gdef; EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef)); EXPECT_TRUE(GetGraphDef(graph_, &gdef)); TF_EXPECT_GRAPH_EQ(expected_gdef, gdef); // Compare that the output of the gradients of both graphs match. RunGraphsAndCompareOutputs(grad_outputs, expected_grad_outputs); }
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) -
ci/official/containers/linux_arm64/Dockerfile
# manylinux2014-compatible packages. COPY builder.devtoolset/fixlinks_aarch64.sh /fixlinks.sh COPY builder.devtoolset/rpm-patch.sh /rpm-patch.sh COPY builder.devtoolset/build_devtoolset.sh /build_devtoolset.sh COPY builder.devtoolset/gcc9-fixups.patch /gcc9-fixups.patch COPY builder.devtoolset/stringop_trunc.patch /stringop_trunc.patch RUN /build_devtoolset.sh devtoolset-10 /dt10 # Build later version of patchelf that is not so buggy
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Jan 08 09:32:19 GMT 2024 - 4.1K bytes - Viewed (1)