Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for style (0.16 sec)

  1. 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)
  2. 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)
  3. ci/official/containers/linux_arm64/devel.usertools/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: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. .clang-format

    # Run manually to reformat a file:
    # clang-format -i --style=file <file>
    BasedOnStyle: Google
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Dec 07 04:00:43 GMT 2021
    - 124 bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/c/eager/parallel_device/parallel_device.cc

    }
    
    // For TFE_CustomDevice::copy_tensor_to_device in the parallel device
    // registration.
    //
    // Since this function is used to satisfy the TFE_CustomDevice C API,
    // device_info is passed in using a C-style generic. It must always be a
    // ParallelDevice.
    TFE_TensorHandle* CopyToParallelDevice(TFE_Context* context,
                                           TFE_TensorHandle* tensor,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Advance the fake timestamp so that "a" becomes stale via its first block.
      env->SetNowSeconds(now + 2);
      // The pruning thread periodically compares env->NowSeconds() with the oldest
      // block's timestamp to see if it should evict any files. At the current fake
      // timestamp of `now` + 2, file "a" is stale because its first block is stale,
      // but file "b" is not stale yet. Thus, once the pruning thread wakes up (in
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  10. ci/official/utilities/repack_libtensorflow.sh

    # Helper function to copy a srcjar after moving any source files
    # directly under the root to the "maven-style" src/main/java layout
    #
    # Source files generated by annotation processors appear directly
    # under the root of srcjars jars created by bazel, rather than under
    # the maven-style src/main/java subdirectory.
    #
    # Bazel manages annotation generated source as follows: First, it
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top