Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NOW (0.24 sec)

  1. tensorflow/c/c_api.cc

        result = session->Run(run_options_proto, input_pairs, output_tensor_names,
                              target_oper_names, &outputs, &run_metadata_proto);
    
        // Serialize back to upstream client, who now owns the new buffer
        if (run_metadata != nullptr) {
          status->status = MessageToBuffer(run_metadata_proto, run_metadata);
          if (!status->status.ok()) return;
        }
      } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_test.cc

          context.get(), components, device_name, status.get());
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
      // Run a collective sum, so each component should now be the same.
      TensorHandlePtr reduced(
          CollectiveSum(context.get(), parallel_value.get(), 2, status.get()));
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Now load a block of a different file "b" at timestamp `now` + 1
      env->SetNowSeconds(now + 1);
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out));
      // Now load a different block of file "a" at timestamp `now` + 1. When the
      // 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));
    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)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_DeleteAbstractOp(matmul_op);
    
      TF_AbstractFunction* func =
          TF_FinalizeFunction(graph_ctx, mm_outputs, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      /* Now that the graph is built, test graph implementation on matmul example:
        [[1,1] ,   *   [[1,1] ,   =  [[2,2],
         [1,1]]         [1,1]]        [2,2]]
      */
    
      // Build eager context.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

      void Run(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs,
               TF_Operation* output, int32_t expected_result) {
        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,
    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)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

            fs->TranslateName(tensorflow::strings::StrCat(GetParam(), ":///")),
            "/");
        EXPECT_EQ(
            fs->TranslateName(tensorflow::strings::StrCat(GetParam(), ":////")),
            "/");
      }
    
      // Now test several paths/URIs
      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("a_file"))),
                "/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("a_dir/a_file"))),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      EXPECT_EQ(attr_value.type(), tensorflow::DT_INT32);
      ASSERT_TRUE(GetAttrValue(add, "N", &attr_value, s)) << TF_Message(s);
      EXPECT_EQ(attr_value.i(), 2);
    
      // Placeholder oper now has a consumer.
      ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{feed, 0}));
      TF_Input feed_port;
      EXPECT_EQ(1, TF_OperationOutputConsumers(TF_Output{feed, 0}, &feed_port, 1));
      EXPECT_EQ(add, feed_port.oper);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top