Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for opzione (0.31 sec)

  1. tensorflow/c/c_api.cc

      out->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
      return out;
    }
    void TF_DeleteSessionOptions(TF_SessionOptions* opt) { delete opt; }
    
    void TF_SetTarget(TF_SessionOptions* options, const char* target) {
      options->options.target = target;
    }
    
    void TF_SetConfig(TF_SessionOptions* options, const void* proto,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.h

    #include "tensorflow/c/c_api_macros.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct TFE_ContextOptions TFE_ContextOptions;
    
    // Return a new options object.
    TF_CAPI_EXPORT extern TFE_ContextOptions* TFE_NewContextOptions(void);
    
    // Set the config in TF_ContextOptions.options.
    // config should be a serialized tensorflow.ConfigProto proto.
    // If config was not parsed successfully as a ConfigProto, record the
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      }
    
      TF_Filesystem_Option option;
      memset(&option, 0, sizeof(option));
      option.name = const_cast<char*>(name.c_str());
      TF_Filesystem_Option_Value option_value;
      memset(&option_value, 0, sizeof(option_value));
      option_value.type_tag = TF_Filesystem_Option_Type_Buffer;
      option_value.num_values = values.size();
      std::vector<TF_Filesystem_Option_Value_Union> option_values(values.size());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/tflite-other.md

        installed from options: - source - binary validations: required: true
    
    -   type: input id: tfversion attributes: label: Tensorflow Version description:
        placeholder: ex,. tf 2.8 validations: required: true
    
    -   type: dropdown id: Code attributes: label: Custom Code description:
        options: - "Yes" - "No" validations: required: true
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Dec 29 22:28:29 GMT 2022
    - 3.4K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      auto* collection_registry = monitoring::CollectionRegistry::Default();
      monitoring::CollectionRegistry::CollectMetricsOptions options;
      std::unique_ptr<monitoring::CollectedMetrics> metrics =
          collection_registry->CollectMetrics(options);
    
      EXPECT_EQ("test/counter",
                metrics->point_set_map.at("test/counter")->metric_name);
      EXPECT_EQ(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_internal.h

    class ServerInterface;
    }  // namespace tensorflow
    
    // Internal structures used by the C API. These are likely to change and should
    // not be depended on.
    
    struct TF_SessionOptions {
      tensorflow::SessionOptions options;
    };
    
    struct TF_DeprecatedSession {
      tensorflow::Session* session;
    };
    
    struct TF_Library {
      void* lib_handle;
      TF_Buffer op_list;
    };
    
    struct TF_Graph {
      TF_Graph();
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      TF_DeleteSessionOptions(opt);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Buffer* run_options = TF_NewBufferFromString("", 0);
      TF_Buffer* run_metadata = TF_NewBuffer();
      TF_Run(session, run_options, nullptr, nullptr, 0, nullptr, nullptr, 0,
             nullptr, 0, run_metadata, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. tensorflow/c/eager/c_api_test.cc

      // eager runtime.
      if (enable_grappler) {
        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
        config.mutable_graph_options()
            ->mutable_rewrite_options()
            ->set_min_graph_nodes(-1);
        string serialized_config;
        ASSERT_TRUE(config.SerializeToString(&serialized_config));
        TFE_OpSetAttrString(
            op, "config_proto",
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  9. .bazelrc

    # This file tries to group and simplify build options for TensorFlow
    #
    # ----CONFIG OPTIONS----
    # Android options:
    #    android:
    #    android_arm:
    #    android_arm64:
    #    android_x86:
    #    android_x86_64:
    #
    # iOS options:
    #     ios:
    #     ios_armv7:
    #     ios_arm64:
    #     ios_x86_64:
    #     ios_fat:
    #
    # Macosx options
    #     darwin_arm64:
    #
    # Compiler options:
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 23 01:21:54 GMT 2024
    - 53.4K bytes
    - Viewed (2)
  10. tensorflow/c/c_api_experimental.cc

      return static_cast<TF_Operation*>(static_cast<void*>(node));
    }
    
    void TF_EnableXLACompilation(TF_SessionOptions* options, unsigned char enable) {
      tensorflow::ConfigProto& config = options->options.config;
      auto* optimizer_options =
          config.mutable_graph_options()->mutable_optimizer_options();
      if (enable) {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top