Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for berate (0.19 sec)

  1. tensorflow/c/c_api_test.cc

      const int64_t n = data.size();
      Status status;
      for (const std::vector<int64_t>& dims :
           std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) {
        // Create C++ Tensor
        Tensor src(tensorflow::DT_STRING, TensorShape(dims));
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          src.flat<tstring>()(i) = data[i];
        }
    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/c_test.c

    #endif
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_experimental.h"
    #include "tensorflow/c/env.h"
    #include "tensorflow/c/kernels.h"
    
    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

                                     export_dir, tag_set, &bundle);
      if (!status->status.ok()) return nullptr;
    
      // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session
      // extends using GraphDefs. The Graph instance is different, but equivalent
      // to the one used to create the session.
      //
      // TODO(jhseu): When Session is modified to take Graphs instead of
    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)
  4. tensorflow/c/eager/c_api_experimental.cc

    TFE_MonitoringSampler0* TFE_MonitoringNewSampler0(
        const char* name, TFE_MonitoringBuckets* buckets, TF_Status* status,
        const char* description) {
      auto* result = new TFE_MonitoringSampler0(
          {name, buckets->create_buckets(), description});
      tsl::Set_TF_Status_from_Status(status, result->sampler->GetStatus());
      if (!result->sampler->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. RELEASE.md

            optimizer.
        *   **Learning rate schedule access.** When using a `LearningRateSchedule`,
            The new optimizer's `learning_rate` property returns the
            current learning rate value instead of a `LearningRateSchedule` object
            as before. If you need to access the `LearningRateSchedule` object,
            please use `optimizer._learning_rate`.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. configure.py

                  'Android builds?'), 'Searching for NDK and SDK installations.',
                 'Not configuring the WORKSPACE for Android builds.'):
        create_android_ndk_rule(environ_cp)
        create_android_sdk_rule(environ_cp)
    
      system_specific_test_config(environ_cp)
    
      configure_ios(environ_cp)
    
      print('Preconfigured Bazel build configs. You can use any of the below by '
    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)
  7. tensorflow/c/c_api_experimental.cc

          status->status = TF_TensorToTensor(input_tensors[i], &input_tensor);
          if (!status->status.ok()) return;
          input_tensors_vector[i] = &input_tensor;
        }
      }
    
      // Create an inference context with dummy values, which will be updated later.
      InferenceContext c(TF_GRAPH_DEF_VERSION, node_def, op_reg_data->op_def,
                         std::vector<ShapeHandle>(num_inputs), input_tensors_vector,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. .bazelrc

    # Configure short or long logs
    build:short_logs --output_filter=DONT_MATCH_ANYTHING
    build:verbose_logs --output_filter=
    
    # Instruction set optimizations
    # TODO(gunan): Create a feature in toolchains for avx/avx2 to
    #   avoid having to define linux/win separately.
    build:avx_linux --copt=-mavx
    build:avx_linux --host_copt=-mavx
    build:avx_win --copt=/arch:AVX
    
    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)
Back to top