- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for styles (0.15 sec)
-
ci/official/utilities/code_check_changed_files.bats
bash -c 'clang-format-12 --style=Google {} | git diff --no-index {} -' \ | tee $BATS_TEST_TMPDIR/needs_help.txt echo "You can use clang-format --style=Google -i <file> to apply changes to a file." [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]] } # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines. @test "Check pylint for Python files" {
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/eager/immediate_execution_tensor_handle.h
// debugging. Does not include a shape or dtype. // // Included in the default implementation of DebugString. virtual Status SummarizeValue(std::string& summary) const; // For LLVM style RTTI. static bool classof(const AbstractTensorHandle* ptr) { return ptr->getKind() == kEager || ptr->getKind() == kTfrt; } protected: explicit ImmediateExecutionTensorHandle(AbstractTensorHandleKind kind)
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.h
// Returns a shared reference to the wrapped function. absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord() override { return func_record_.GetNewRef(); } // For LLVM style RTTI. static bool classof(const AbstractFunction* ptr) { return ptr->getKind() == kGraph; } private: core::RefCountPtr<FunctionRecord> func_record_; }; } // namespace graph } // namespace tracing
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.8K bytes - Viewed (0) -
requirements_lock_3_10.txt
mdurl==0.1.2 \ --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba # via markdown-it-py ml-dtypes==0.3.2 \ --hash=sha256:2c34f2ba9660b21fe1034b608308a01be82bbef2a92fb8199f24dc6bad0d5226 \ --hash=sha256:3a17ef2322e60858d93584e9c52a5be7dd6236b056b7fa1ec57f1bb6ba043e33 \
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 12 04:38:53 GMT 2024 - 43.8K bytes - Viewed (0) -
CONTRIBUTING.md
```bash pip install pylint pylint --rcfile=tensorflow/tools/ci_build/pylintrc myfile.py ``` Note `pylint --rcfile=tensorflow/tools/ci_build/pylintrc` should run from the top level tensorflow directory. #### Coding style for other languages * [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html)
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) -
tensorflow/c/eager/c_api.h
// will be blocked till the copy completes. This is the default placement // policy. TFE_DEVICE_PLACEMENT_SILENT = 2, // Placement policy which silently copies int32 tensors but not other dtypes. TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3, } TFE_ContextDevicePlacementPolicy; // LINT.ThenChange(//tensorflow/c/eager/immediate_execution_context.h) // Sets the default execution mode (sync/async). Note that this can be
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_tensor_handle.cc
} std::string value_string; if (!SummarizeValue(value_string).ok()) { value_string = "<error computing value>"; } if (value_string.length() > 100) { // The default NumPy-style output can be distractingly long in error // messages. value_string = absl::StrCat(value_string.substr(0, 100), " [...]"); } Status s; const char* device_name = DeviceName(&s); if (!s.ok()) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 2.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
std::vector<tensorflow::DataType> tensor_dtypes(tensors.size()); for (int i = 0; i < tensors.size(); i++) { tensor_ids[i] = ToId(tensors[i]); tensor_dtypes[i] = tensors[i]->DataType(); } return GradientTape::ShouldRecord(tensor_ids, tensor_dtypes); } void Tape::DeleteTrace(const AbstractTensorHandle* t) { GradientTape::DeleteTrace(ToId(t)); } std::vector<int64_t> MakeTensorIDList(
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) -
tensorflow/c/eager/immediate_execution_operation.h
#ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_ #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_ #include <memory> #include "absl/types/optional.h" #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_operation.h" #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" #include "tensorflow/c/tensor_interface.h"
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh
--enable-plugin \ --enable-shared \ --enable-threads=posix \ --with-default-libstdcxx-abi=${LIBSTDCXX_ABI} \ --with-gcc-major-version-only \ --with-linker-hash-style="gnu" \ && \ make -j$(nproc) && \ make install # Create the devtoolset libstdc++ linkerscript that links dynamically against
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Sep 29 00:26:34 GMT 2023 - 6.1K bytes - Viewed (1)