Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for Hare (0.15 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    //
    // This has three benefits:
    //   * allows having newer plugins than the current core TensorFlow: the
    //     additional entries in the plugin's table are just discarded;
    //   * allows having older plugins than the current core TensorFlow (though
    //     we are still warning users): the entries that core TensorFlow expects
    //     but plugins didn't provide will be set to `nullptr` values and core
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

        Run(inputs, {{output, 0}}, {expected_result});
      }
    
      // Run the host graph, which now contains a function and check that
      // outputs are as expected.
      // 'T' stands for 'tensor' since the outputs are tensors, not scalars.
      void RunT(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs,
                std::initializer_list<TF_Output> outputs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. tensorflow/c/eager/unified_api_testutil.cc

        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
        // function op outputs to have nullptrs at the `null_indices`.
        absl::flat_hash_set<int> null_indices;
        {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        if (gcs_file->stat_cache->Lookup(path, &stat)) {
          if (offset + read < stat.base.length) {
            TF_SetStatus(status, TF_INTERNAL,
                         absl::StrCat("File contents are inconsistent for file: ",
                                      path, " @ ", offset)
                             .c_str());
          }
          TF_VLog(2, "Successful integrity check for: %s @ %u", path.c_str(),
                  offset);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_remote_test_util.cc

        TFE_OpAddInput(matmul, has_packed_input ? packed_handle : h1_task2, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      } else {
        // Handles are on task0 (local), and task2, but op is on task1.
        matmul = MatMulOp(ctx, h0_task0, h1_task2);
      }
      if (remote) {
        TFE_OpSetDevice(matmul, task1_name, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

                        /*input_shapes*/ {make_shape({3, 2}), unknown_shape()},
                        /*input_tensors*/ {},
                        /*expected_shape*/ make_shape({3, kUnknownDim}));
    
      // Infer shape when some dimensions are unknown.
      CheckOutputShapes(
          matmul_op,
          /*input_shapes*/ {make_shape({kUnknownDim, 2}), make_shape({2, 4})},
          /*input_tensors*/ {},
          /*expected_shape*/ make_shape({kUnknownDim, 4}));
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      }
      ~GraphOperation() override {}
    
     private:
      friend class GraphContext;  // For access to op_.
      TF_Graph* g_;
      std::unique_ptr<TF_OperationDescription> op_;
      // Hold `op_type` and `op_name` till both are available since we need both
      // to build a graph operation.
      string op_type_;
      const char* op_name_ = nullptr;
      // TODO(srbs): Use this.
      string device_name_;
    };
    
    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)
  8. tensorflow/c/eager/c_api.cc

    // TODO(b/291142876) Simplify TFE_ContextSetServerDefWithTimeoutAndRetries and
    // TFE_ContextUpdateServerDefWithTimeout to be simple wrappers around the same
    // C++ function.
    // Retries are used for CreateContext calls, which is used in
    // ParameterServerStrategy initialization to be robust to worker preemption.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeoutAndRetries(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // first block of "a" expires, this block should also be removed because it
      // also belongs to file "a".
      TF_EXPECT_OK(ReadCache(&cache, "a", 8, 1, &out));
      // Ensure that all blocks are in the cache (i.e. reads are cache hits).
      EXPECT_EQ(cache.CacheSize(), 24);
      EXPECT_EQ(calls, 3);
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, 1, &out));
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out));
    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. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //
    // Each filesystem implementation can be provided by DSOs, so we provide the
    // `--dsos` flag to specify a list of shared objects to be loaded in order.
    // If the flag is not used, no shared objects are loaded.
    //
    // Every filesystem provides support for accessing URIs of form
    // `[<scheme>://]<path>` where `<scheme>` is optional (if missing, we are
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top