- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for style (0.13 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) -
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/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) -
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/c_api_unified_experimental_graph.cc
graph_->graph.NodeType(output_.oper->node.name(), &ft); if (ft == nullptr) { return FullTypeDef(); } else { return *ft; } } TF_Output output_; // For LLVM style RTTI. static bool classof(const AbstractTensorHandle* ptr) { return ptr->getKind() == kGraph; } private: TF_Graph* graph_; // For shape inference. };
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
ci/official/utilities/setup_macos.sh
# ============================================================================== # # macOS specific setup for all TF scripts. # # Mac version of Core utilities differ in usage. Since our scripts are written # with the GNU style, we need to set GNU utilities to be default on Mac. if [[ -n "$(which grealpath)" ]] && [[ -n "$(which gstat)" ]]; then alias realpath=grealpath alias stat=gstat
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 15:23:28 GMT 2024 - 6.2K bytes - Viewed (0) -
configure.py
else: print('{} is not executable. Is it the python binary?'.format( python_bin_path)) environ_cp['PYTHON_BIN_PATH'] = '' # Convert python path to Windows style before checking lib and version if is_windows() or is_cygwin(): python_bin_path = cygpath(python_bin_path) # Get PYTHON_LIB_PATH python_lib_path = environ_cp.get('PYTHON_LIB_PATH')
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) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// on cluster configurations provided in `server_def`; otherwise, update // existing context state with the provided `server_def`. Contexts created // on remote tasks will be considered stale and garbage collected after // `keep_alive_secs` of inactivity. virtual Status SetOrUpdateServerDef(const ServerDef& server_def, bool reset_context, int keep_alive_secs,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
.github/workflows/stale-issues.yml
exempt-issue-labels: 'override-stale' #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale exempt-pr-labels: "override-stale" #Limit the No. of API calls in one run default value is 30. operations-per-run: 1000 days-before-issue-stale: 180 days-before-issue-close: 365
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Nov 23 20:04:38 GMT 2023 - 4.1K bytes - Viewed (0) -
RELEASE.md
* `tf.keras`: * Adds `tf.compat.v1.keras.utils.get_or_create_layer` to aid migration to TF2 by enabling tracking of nested keras models created in TF1-style, when used with the `tf.compat.v1.keras.utils.track_tf1_style_variables` decorator. * Added a `tf.keras.layers.experimental.preprocessing.HashedCrossing` layer which applies the hashing trick to the concatenation of crossed
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)