Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for tfshape$ (0.17 sec)

  1. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

    #include "tensorflow/c/experimental/saved_model/public/signature_def_param_list.h"
    #include "tensorflow/c/experimental/saved_model/public/tensor_spec.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_shape.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/stringpiece.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

      for (const std::optional<llvm::ArrayRef<int64_t>>& shape : shapes) {
        TensorShapeProto& tshape = *shape_list.add_shape();
        if (shape.has_value()) {
          for (int64_t dim : *shape) {
            tshape.add_dim()->set_size(mlir::ShapedType::isDynamic(dim) ? -1 : dim);
          }
        } else {
          tshape.set_unknown_rank(true);
        }
      }
    
      // If shape is already set, override it. This can happen if we import
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/BUILD

            "@local_xla//xla/tsl/c:tsl_status_internal_headers",
        ],
        visibility = [
            "//tensorflow/python:__subpackages__",
        ],
    )
    
    cc_library(
        name = "tf_shape",
        srcs = ["tf_shape.cc"],
        hdrs = ["tf_shape.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros",
            ":tf_shape_internal",
            "//tensorflow/core:framework",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental.cc

      TF_DeleteExecutionContext(ctx);
      return wrap(func);
    }
    
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
                                               TF_Status* s) {
      DCHECK_GE(shape.num_dims, -1);
      TracingTensorHandle* t;
      TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(func));
      if (!tracing_ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %r1 = "tf.Reshape"(%in, %s1) {T = f32, Tshape = i32, device = ""} : (tensor<3x3x48x1xf32>, tensor<3xi32>) -> tensor<3x3x48xf32>
      %fq = "tf.FakeQuantWithMinMaxVarsPerChannel"(%r1, %mini, %maxi) {num_bits = 5, narrow_range = false} : (tensor<3x3x48xf32>, tensor<48xf32>, tensor<48xf32>) -> tensor<3x3x48xf32>
      %r2 = "tf.Reshape"(%fq, %s2) {T = f32, Tshape = i32, device = ""} : (tensor<3x3x48xf32>, tensor<4xi32>) -> tensor<3x3x48x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt

      input: "BoxPredictor_4/ClassPredictor/act_quant/FakeQuantWithMinMaxVars"
      input: "BoxPredictor_4/Reshape_1/shape"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "Tshape"
        value {
          type: DT_INT32
        }
      }
    }
    
    # MLIR-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt

      input: "BoxPredictor_4/ClassPredictor/act_quant/FakeQuantWithMinMaxVars"
      input: "BoxPredictor_4/Reshape_1/shape"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "Tshape"
        value {
          type: DT_INT32
        }
      }
    }
    
    # MLIR-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %r1 = "tf.Reshape"(%in, %s1) {T = f32, Tshape = i32, device = ""} : (tensor<3x3x48x1xf32>, tensor<3xi32>) -> tensor<3x3x48xf32>
      %fq = "tf.FakeQuantWithMinMaxVarsPerChannel"(%r1, %mini, %maxi) {num_bits = 3, narrow_range = false} : (tensor<3x3x48xf32>, tensor<48xf32>, tensor<48xf32>) -> tensor<3x3x48xf32>
      %r2 = "tf.Reshape"(%fq, %s2) {T = f32, Tshape = i32, device = ""} : (tensor<3x3x48xf32>, tensor<4xi32>) -> tensor<3x3x48x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

      input: "BoxPredictor_4/ClassPredictor/act_quant/FakeQuantWithMinMaxVars"
      input: "BoxPredictor_4/Reshape_1/shape"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "Tshape"
        value {
          type: DT_INT32
        }
      }
    }
    
    # MLIR-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

      input: "BoxPredictor_4/ClassPredictor/act_quant/FakeQuantWithMinMaxVars"
      input: "BoxPredictor_4/Reshape_1/shape"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "Tshape"
        value {
          type: DT_INT32
        }
      }
    }
    
    # MLIR-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top