Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for TF2 (0.02 sec)

  1. src/internal/types/testdata/fixedbugs/issue49005.go

    var _ = F2 /* ERROR "impossible type assertion: F2().(*X2)\n\t*X2 does not implement T2 (missing method M)" */ ().(*X2)
    
    type X2 struct{}
    
    func _() {
    	switch F2().(type) {
    	case * /* ERROR "impossible type switch case: *X2\n\tF2() (value of type T2) cannot have dynamic type *X2 (missing method M)" */ X2:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 689 bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/experimental/public/function_metadata.h

    namespace experimental {
    namespace cc {
    
    // FunctionMetadata stores additional function information, including
    // optional signaturedef feeds/fetches (for TF1-based ConcreteFunctions),
    // a valid function path (for TF2-based ConcreteFunctions), and
    // the types + number of inputs and outputs.
    class FunctionMetadata final {
      // TODO(bmzhao): Add getters here as necessary.
     private:
      friend class ConcreteFunction;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/exported_model.proto

      // to populate `MetaInfoDef`s `function_aliases` when the quantized model is
      // exported to the saved model. This field is usually only populated for the
      // TF2 models.
      map<string, string> function_aliases = 6;
    
      // Holds information about the asset files used for the model. It essentially
      // associates asset file names with the tensors to which the asset file names
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 06:12:59 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc

    }
    
    void CreateReplicatedClusteringPipeline(OpPassManager &pm,
                                            llvm::StringRef module_name) {
      // Since the internal bridge clustering passes are shared among TF1/TF2
      // TF2-only passes should go here. However, this should be very rare and
      // new passes generally should go into the internal
      // AddReplicatedBridgeClusteringPipelinePasses.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/README.md

    # Tensorflow C SavedModel API
    
    ## Overview
    
    These are the new experimental C SavedModel APIs for loading and running
    SavedModels in a TF2-idiomatic fashion. See
    [RFC 207](https://github.com/tensorflow/community/pull/207) for additional
    context.
    
    The directory structure is as follows:
    
    ```none
    saved_model/
    
      public/
    
      internal/
    
      core/
    
    ```
    
    ## saved_model/public
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 20 17:00:01 UTC 2020
    - 2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/ops/variable_ops.h

    namespace tensorflow {
    namespace internal {
    
    // Executes a VarHandleOp using `ctx`, and fills `handle` with the DT_RESOURCE
    // TensorHandle associated with the variable. This is equivalent to creating an
    // unitialized TF2 tf.Variable.
    // https://github.com/tensorflow/tensorflow/blob/516608035f85cec8b126712b0ff8407220206b22/tensorflow/python/ops/resource_variable_ops.py#L1867-L1872
    Status CreateUninitializedResourceVariable(ImmediateExecutionContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.cc

      return Status();
    }
    
    Status FlatTensorFunction::MakeCallOp(
        absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const {
      out->reset(ctx_->CreateOperation());
      // In eager mode, TF2 python executes functions by constructing an op with
      // the name of the functiondef:
      // https://github.com/tensorflow/tensorflow/blob/66668ec0ca432e2f38a575b814f45b6d299d01ed/tensorflow/python/eager/function.py#L545
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.h

    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    
    namespace tensorflow {
    
    // FlatTensorFunction models a TF2 eager runtime view of a callable function,
    // taking + returning flat lists of tensors, including any captures.
    // Effectively, it is a thin wrapper around a FunctionDef owned by the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 21:03:41 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/mlir_bridge_rollout_policy.h

    // enabled or disabled, it will decide whether or not to run the bridge.
    //
    // The config_proto param is a required input for all TF1 graphs but it is
    // redundant for TF2 graphs.
    // If getting rollout policy involves graph analysis, `record_stats` is used
    // to decide whether to emit metrics on unsupported features of the graph.
    MlirBridgeRolloutPolicy GetMlirBridgeRolloutPolicy(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 23:11:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

    """Serves as a common "main" function for all the SavedModel tests.
    
    There is a fair amount of setup needed to initialize tensorflow and get it
    into a proper TF2 execution mode. This hides that boilerplate.
    """
    
    import tempfile
    from absl import app
    from absl import flags
    from absl import logging
    import tensorflow.compat.v1 as tf
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top