Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for causal (0.19 sec)

  1. tensorflow/c/eager/abstract_operation.h

          const char* attr_name, absl::Span<const AbstractOperation*> values) = 0;
    
     private:
      const AbstractOperationKind kind_;
    };
    
    // TODO(b/193656009): Defining these in a cc file causes linker errors with
    // fastbuild.
    inline Status AbstractOperation::SetAttrShape(const char* attr_name,
                                                  const PartialTensorShape shape) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out));
      TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out));
      calls.push_back(2 * block_size);
      // Cache miss followed by cache hit.  Causes eviction of LRU element.
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
      // LRU element was at offset 0.  Cache miss.
      calls.push_back(0);
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      EXPECT_TRUE(cache2.Lookup("b", &value));
      EXPECT_EQ(value, 2);
      EXPECT_TRUE(cache2.Lookup("c", &value));
      EXPECT_EQ(value, 3);
      EXPECT_TRUE(cache2.Lookup("d", &value));
      EXPECT_EQ(value, 4);
      // Insertion of "e" causes "a" to be evicted, but the other entries are still
      // there.
      cache2.Insert("e", 5);
      EXPECT_FALSE(cache2.Lookup("a", &value));
      EXPECT_TRUE(cache2.Lookup("b", &value));
      EXPECT_EQ(value, 2);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      if seen[key] == 3:
        p.text += (
            "\n      Since there were three failures, this is not flaky, and it"
        )
        p.text += "\n      probably caused the Kokoro invocation to fail."
      else:
        p.text += (
            "\n      Since there were not three failures, this is probably a flake."
        )
        p.text += (
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                            const int in_flight_nodes_limit)
          : status_(TF_NewStatus()),
            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/c_api.h

    // into. `src_name` is copied and has no lifetime requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsRemapControlDependency(
        TF_ImportGraphDefOptions* opts, const char* src_name, TF_Operation* dst);
    
    // Cause the imported graph to have a control dependency on `oper`. `oper`
    // should exist in the graph being imported into.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsAddControlDependency(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. RELEASE.md

                with `mask_zero=True` to automatically infer a correct padding mask.
            *   Added a `use_causal_mask` call time argument to the layer. Passing
                `use_causal_mask=True` will compute a causal attention mask, and
                optionally combine it with any `attention_mask` passed in directly
                when calling the layer.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  8. tensorflow/c/eager/c_api_cluster_test.cc

          "/job:localhost/replica:0/task:1/device:CPU:0";
      CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name);
    
      // Adding a non-existent remote worker to cluster def. This should cause the
      // UpdateServerDef call to fail.
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

          // ones_like for variants.
          aid = output_tensor.ZerosLike();
        } else {
          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
          // for some gradient functions and if there's another way to work around
          // it (e.g. conds instead of ifs). The value shouldn't really matter.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. ci/official/README.md

    #   variables in between script executions. To forcibly remove the
    #   container and start fresh, run "docker rm -f tf". Removing the container
    #   destroys some temporary bazel data and causes longer builds.
    #
    #   You will need the NVIDIA Container Toolkit for GPU testing:
    #   https://github.com/NVIDIA/nvidia-container-toolkit
    #
    #   Note: if you interrupt a bazel command on docker (ctrl-c), you
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top