Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 190 for Scalar (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // TODO(ezhulenev): Add support for more valid concat patterns.
    
      // Tensor + Scalar: [..., 1] + []  <- scalar
      //                        ^
      //                        \- axis is the innermost dimension.
      //
      // Concatenate tensor arguments on the same axis as the original operation,
      // and concatenate scalars into the vector.
      if (is_all_tensors(0, axis) && is_all_scalars(1)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.h

          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
          unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get()));
      return absl::OkStatus();
    }
    
    // Return a scalar tensor handle with given value.
    template <class T, TF_DataType datatype>
    Status TestScalarTensorHandle(AbstractContext* ctx, const T value,
                                  AbstractTensorHandle** tensor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      if (!IsOfRankOrUnranked(op.getDepth(), 0)) {
        return op.emitOpError() << "requires depth to be a scalar";
      }
      if (!IsOfRankOrUnranked(op.getOnValue(), 0)) {
        return op.emitOpError() << "requires on_value to be a scalar";
      }
      if (!IsOfRankOrUnranked(op.getOffValue(), 0)) {
        return op.emitOpError() << "requires off_value to be a scalar";
      }
    
      DenseIntElementsAttr depth_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      const TF_TensorSpec* tensor_spec_a = TF_SignatureDefParamTensorSpec(param_a);
      const TF_Shape* shape_a = TF_TensorSpecShape(tensor_spec_a);
    
      // Input "a" is a scalar, float32 tensor
      EXPECT_EQ("a", std::string(TF_SignatureDefParamName(param_a)));
      EXPECT_EQ(TF_FLOAT, TF_TensorSpecDataType(tensor_spec_a));
      EXPECT_EQ(0, TF_ShapeDims(shape_a));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      //
      // 1) `atomic`: the list is treated as a single entity, like a scalar.
      //      Atomic lists will be entirely replaced when updated. This extension
      //      may be used on any type of list (struct, scalar, ...).
      // 2) `set`:
      //      Sets are lists that must not have multiple items with the same value. Each
      //      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      // Val tensor must be a scalar or of a shape [1, ... , 1, elements_depth].
      const int elements_rank = elements_shape.size();
      for (int i = 0; i < elements_rank - 1; ++i) {
        if (elements_shape[i] != 1) {
          return false;
        }
      }
    
      auto elements_depth = elements_shape.empty() ? 1 : elements_shape.back();
      // If elements depth equals 1 (i.e., scalar or tensor with 1 element), then we
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. README.md

    <a href="https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=main-badge" target="_blank" title="Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files"><img src="https://fastapi.tiangolo.com/img/sponsors/scalar.svg"></a>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. src/internal/trace/event.go

    		m.Name = "/sched/gomaxprocs:threads"
    		m.Value = Value{kind: ValueUint64, scalar: e.base.args[0]}
    	case go122.EvHeapAlloc:
    		m.Name = "/memory/classes/heap/objects:bytes"
    		m.Value = Value{kind: ValueUint64, scalar: e.base.args[0]}
    	case go122.EvHeapGoal:
    		m.Name = "/gc/heap/goal:bytes"
    		m.Value = Value{kind: ValueUint64, scalar: e.base.args[0]}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      //
      // 1) `atomic`: the list is treated as a single entity, like a scalar.
      //      Atomic lists will be entirely replaced when updated. This extension
      //      may be used on any type of list (struct, scalar, ...).
      // 2) `set`:
      //      Sets are lists that must not have multiple items with the same value. Each
      //      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

      return tensorflow::GetTypeFromTFTensorShape({1}, builder.getIntegerType(32));
    }
    
    Value ReshapeScalarToSizeType(OpBuilder builder, Value scalar, Location loc) {
      auto size_type = GetSizeType(builder);
      return builder.create<TF::ReshapeOp>(
          loc, ArrayRef<Type>{size_type},
          ArrayRef<Value>{scalar, GetR1Const(size_type.getShape(), builder, loc)});
    }
    
    LogicalResult CreateInitBufferValue(ArrayRef<int64_t> element_shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top