Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for flot (0.13 sec)

  1. tensorflow/c/c_api_test.cc

    TEST(CAPI, TestFromProto) {
      Tensor t_cc(DT_FLOAT, TensorShape({2, 3}));
      t_cc.flat<float>().setConstant(1.0);
      tensorflow::TensorProto t_proto;
      t_cc.AsProtoField(&t_proto);
    
      TF_Buffer* t_buffer = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(t_proto, t_buffer));
    
      const int num_bytes = 6 * sizeof(float);
      float* values =
          reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw(
    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)
  2. tensorflow/c/eager/c_api_test.cc

      ASSERT_EQ(1, num_retvals);
      EXPECT_EQ(TF_FLOAT, TFE_TensorHandleDataType(value_handle));
      EXPECT_EQ(0, TFE_TensorHandleNumDims(value_handle, status));
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      float value = 0.0f;
      TF_Tensor* t = TFE_TensorHandleResolve(value_handle, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      ASSERT_EQ(sizeof(float), TF_TensorByteSize(t));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_function_test.cc

      TF_Tensor* tensor_shape = Int32Tensor({37, 1});
      TF_Operation* shape = Const(tensor_shape, func_graph.get(), s.get(), "shape");
      TF_Operation* random =
          RandomUniform(shape, TF_FLOAT, func_graph.get(), s.get());
    
      TF_Output outputs[] = {{random, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name,
                                 /*append_hash_to_fn_name=*/false, -1,
    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)
  4. tensorflow/BUILD

              tf_additional_profiler_deps()) + if_xla_available([
            "//tensorflow/compiler/aot:tfcompile_lib",
        ]) + if_static(extra_deps = [
            "//tensorflow/core/platform:tensor_float_32_utils",
            "//tensorflow/core/platform:enable_tf2_utils",
        ]) + if_oss([
            "//tensorflow/core/distributed_runtime/rpc:grpc_server_lib",
            "//tensorflow/core/distributed_runtime/rpc:grpc_session",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. configure.py

              if ver < 35:
                print('WARNING: XLA does not support CUDA compute capabilities '
                      'lower than sm_35. Disable XLA when running on older GPUs.')
          else:
            ver = float(m.group(0))
            if ver < 3.0:
              print('ERROR: TensorFlow only supports CUDA compute capabilities 3.0 '
                    'and higher. Please re-specify the list of compute '
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  6. .bazelrc

    # END TF TEST SUITE OPTIONS
    
    # START CROSS-COMPILE CONFIGS
    # Set execution platform to Linux x86
    # Note: Lot of the "host_" flags such as "host_cpu" and "host_crosstool_top"
    # flags seem to be actually used to specify the execution platform details. It
    # seems it is this way because these flags are old and predate the distinction
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  7. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_SetAttrFloat(TF_OperationDescription* desc,
                                               const char* attr_name, float value);
    TF_CAPI_EXPORT extern void TF_SetAttrFloatList(TF_OperationDescription* desc,
                                                   const char* attr_name,
                                                   const float* values,
                                                   int num_values);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top