Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for getA (0.29 sec)

  1. tensorflow/c/c_api_test.cc

      std::unique_ptr<size_t[]> lens(new size_t[list.size()]);
      std::unique_ptr<char[]> storage(new char[list_total_size]);
      TF_OperationGetAttrStringList(oper, "v", values.get(), lens.get(),
                                    list.size(), storage.get(), list_total_size,
                                    s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      for (size_t i = 0; i < list.size(); ++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/api_template.__init__.py

    # Lazy-load Keras v2/3.
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals()))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v2.keras")
    else:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  3. tensorflow/c/c_test.c

    // 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);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it'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)
  4. CONTRIBUTING.md

        change.
    -   You make the change and submit it for the review again.
    -   This cycle repeats itself until the PR gets approved.
    -   Note: As a friendly reminder, we may reach out to you if the PR is awaiting
        your response for more than 2 weeks.
    
    **4. Approved**
    
    -   Once the PR is approved, it gets `kokoro:force-run` label applied and it
        initiates CI/CD tests.
    -   We can't move forward if these tests fail.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

      std::unique_ptr<bool[]> b(new bool[num_values]);
      for (int i = 0; i < num_values; ++i) {
        b[i] = values[i];
      }
      desc->node_builder.Attr(attr_name,
                              ArraySlice<const bool>(b.get(), num_values));
    }
    
    void TF_SetAttrType(TF_OperationDescription* desc, const char* attr_name,
                        TF_DataType value) {
      desc->node_builder.Attr(attr_name, static_cast<DataType>(value));
    }
    
    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)
  6. tensorflow/c/BUILD

            "//tensorflow/c/eager:tfe_op_internal",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "//tensorflow/compiler/jit:flags",
            "//tensorflow/compiler/jit:get_compiler_ir",
            "//tensorflow/core:core_cpu",
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        }
        if (op_type_.empty()) {
          return errors::FailedPrecondition(
              "GraphOperation::Reset must be called before calling SetOpName.");
        }
        // TODO(b/145674566): We use Graph::NewName to get a unique name here but
        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
        op_.reset(new TF_OperationDescription(g_, op_type_.c_str(),
    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/BUILD

        TENSORFLOW_API_INIT_FILES +
        get_compat_files(TENSORFLOW_API_INIT_FILES, 2) +
        get_compat_files(TENSORFLOW_API_INIT_FILES_V1, 1) + get_nested_compat_files([
            1,
            2,
        ])
    )
    
    TENSORFLOW_API_INIT_FILES_V1 = (
        TENSORFLOW_API_INIT_FILES_V1 +
        get_compat_files(TENSORFLOW_API_INIT_FILES, 2) +
        get_compat_files(TENSORFLOW_API_INIT_FILES_V1, 1) + get_nested_compat_files([
            1,
    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)
  9. tensorflow/c/eager/c_api.cc

          new tensorflow::DynamicDeviceMgr(std::move(devices)));
    
      auto r = tsl::core::RefCountPtr<tensorflow::IntraProcessRendezvous>(
          new tensorflow::IntraProcessRendezvous(device_mgr.get()));
      tensorflow::EagerContext* eager_context = new tensorflow::EagerContext(
          opts->session_options.options,
          static_cast<tensorflow::ContextDevicePlacementPolicy>(
              opts->device_placement_policy),
    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)
  10. RELEASE.md

    * Moved all saving-related utilities to a new namespace, `keras.saving`, for example: `keras.saving.load_model`, `keras.saving.save_model`, `keras.saving.custom_object_scope`, `keras.saving.get_custom_objects`, `keras.saving.register_keras_serializable`,`keras.saving.get_registered_name` and `keras.saving.get_registered_object`. The previous API locations (in `keras.utils` and `keras.models`) will be available indefinitely, but we recommend you update your code to point to the new API locations....
    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)
Back to top