Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,087 for contextos (0.07 sec)

  1. tensorflow/c/eager/c_api.cc

    }
    
    namespace tensorflow {
    namespace {
    class CustomDeviceAPI : public tensorflow::CustomDevice {
     public:
      CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info,
                      string name)
          : context_(context), device_(device), info_(info), name_(name) {}
    
      ~CustomDeviceAPI() override { device_.delete_device(info_); }
    
      const string& name() override { return name_; }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            op_outputs_ = std::vector<TensorHandlePtr>();
            Execute(context_, operation_name_, std::move(op_inputs_), attributes_,
                    expected_max_outputs_, &op_outputs_, status_.get());
            execution_state_ = ExecutionState::kHasResult;
          }
        }
        finished_execute_.notify_one();
      }
    }
    
    void DeviceThread::StartExecute(TFE_Context* context,
                                    const char* operation_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. .github/workflows/go-fips.yml

          - master
    
    # This ensures that previous jobs for the PR are canceled when the PR is
    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: Go BoringCrypto ${{ matrix.go-version }} on ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.22.x]
            os: [ubuntu-latest]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. internal/grid/handlers.go

    	return val
    }
    
    func setCaller(ctx context.Context, cl *RemoteClient) context.Context {
    	//nolint:staticcheck // SA1029 Staticcheck is drunk.
    	return context.WithValue(ctx, ctxCallerKey{}, cl)
    }
    
    func setSubroute(ctx context.Context, s string) context.Context {
    	//nolint:staticcheck // SA1029 Staticcheck is drunk.
    	return context.WithValue(ctx, ctxSubrouteKey{}, s)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/events.md

    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Nas versões mais recentes de Python, há também um **gerenciador de contexto assíncrono**. Você o usaria com `async with`:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. .github/workflows/issue-on-pr-rollback.yml

    on:
      push:
        branches:
          - master
          
    permissions: {}
    
    jobs:
      create-issue-on-pr-rollback:
        runs-on: ubuntu-latest
        permissions:
          contents: read
          issues: write
          pull-requests: read
        if: |
          github.repository == 'tensorflow/tensorflow' &&
          startsWith(github.event.head_commit.message, 'Rollback of PR #')
        steps:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    // IsRemote returns true if this object version's contents are in its remote
    // tier.
    func (fi FileInfo) IsRemote() bool {
    	if fi.TransitionStatus != lifecycle.TransitionComplete {
    		return false
    	}
    	return !isRestoredObjectOnDisk(fi.Metadata)
    }
    
    // IsRemote returns true if this object version's contents are in its remote
    // tier.
    func (oi ObjectInfo) IsRemote() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            auth = context.auth;
    
    
            if( context.share != null ) {
                this.tree = context.tree;
                this.dfsReferral = context.dfsReferral;
            }
            int last = name.length() - 1;
            if( name.charAt( last ) == '/' ) {
                name = name.substring( 0, last );
            }
            if( context.share == null ) {
                this.unc = "\\";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. .github/workflows/sigbuild-docker-branch.yml

          - 'tensorflow/tools/tf_sig_build_dockerfiles/**'
          - '!tensorflow/tools/tf_sig_build_dockerfiles/README.md'
        branches:
          - "r[1-9].[0-9]+"
    
    permissions:
      contents: read
    
    jobs:
      docker:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        strategy:
          matrix:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top