Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,694 for shade (0.06 sec)

  1. src/cmd/compile/internal/test/testdata/mergelocals/integration.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // This type and the following one will share the same GC shape and size.
    type Pointery struct {
    	p *Pointery
    	x [1024]int
    }
    
    type Pointery2 struct {
    	p *Pointery2
    	x [1024]int
    }
    
    // This type and the following one will have the same size.
    type Vanilla struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 17:42:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/scope_internal.h

      // name that has not been used so far in a scope will get no suffix. Later
      // uses of the same name will get suffixes _1, _2, _3, etc. Multiple scopes
      // can share the same NameMap. For instance, a new scope created using
      // WithControlDependencies() would share the same NameMap with the parent.
      typedef std::unordered_map<string, int> NameMap;
    
      Impl(const std::shared_ptr<Graph>& graph,
           const std::shared_ptr<Status>& status,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shared_variable_v1.py

    # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key2"]
    
    
    def Test():
    
      x = tf.constant([[1.0], [1.0], [1.0]])
      y = tf.get_variable(
          name='y',
          shape=(1, 3),
          initializer=tf.random_normal_initializer(),
          trainable=True)
      r = tf.matmul(x, y)
    
      tensor_info_x = tf.saved_model.utils.build_tensor_info(x)
      tensor_info_r = tf.saved_model.utils.build_tensor_info(r)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_device.h

    namespace tensorflow {
    
    class XlaDevice : public LocalDevice {
     public:
      // Given a tensor, sets `xla::Shape*` the shape of tensor's representation
      // on device, fully padded. On error, the contents of `xla::Shape*`
      // are undefined.
      typedef std::function<Status(const Tensor&, xla::Shape*)> PaddedShapeFn;
    
      // Wrapper class to store metadata about the XlaDevice, where it can be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy

     */
    
    package org.gradle.api.internal.artifacts.ivyservice.resolveengine.excludes.factories
    
    import groovy.json.JsonSlurper
    
    class ExcludeJsonLogToCode {
        private final static List<String> WORDS = [
            "shake",
            "grain",
            "root",
            "rain",
            "cover",
            "crib",
            "lunchroom",
            "sort",
            "building",
            "fact",
            "grass",
            "planes",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/nn_grad_test.cc

    TEST_F(NNGradTest, SoftmaxGrad) {
      TensorShape shape({32, 10});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto y = Softmax(scope_, x);
      RunTest(x, shape, y, shape);
    }
    
    TEST_F(NNGradTest, SoftmaxRank3Grad) {
      TensorShape shape({32, 1, 10});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto y = Softmax(scope_, x);
      RunTest(x, shape, y, shape);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/array_grad_test.cc

      TensorShape shape({2, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto indices = Const(scope_, {{1}, {0}});
      auto y = GatherNd(scope_, x, indices);
      RunTest(x, shape, y, shape);
    }
    
    TEST_F(ArrayGradTest, GatherNdGrad_SliceIndexing_Int64) {
      TensorShape shape({2, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto indices = Cast(scope_, Const(scope_, {{1}, {0}}), DT_INT64);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir

      }
      func.return
    }
    
    // CHECK: %[[SHAPE:[0-9]*]] = "tf.Shape"(%[[ARG_0]])
    // CHECK: %[[OP_A:[0-9]*]] = "tf.opA"(%[[SHAPE]])
    // CHECK: %[[OP_B:[0-9]*]] = "tf.opB"(%[[SHAPE]], %[[OP_A]])
    // CHECK: tf_device.replicate
    // CHECK:   tf_device.return %[[SHAPE]], %[[OP_A]], %[[OP_B]]
    
    
    // CHECK-LABEL: func @nested_ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/str/str_test.go

    		// if either host or share name is different, return s
    		{`\\host\share\foo`, ``, `\\host\share\foo`},
    		{`\\host\share\foo`, `\foo`, `\\host\share\foo`},
    		{`\\host\share\foo`, `\\host\other\`, `\\host\share\foo`},
    		{`\\host\share\foo`, `\\other\share\`, `\\host\share\foo`},
    		{`\\host\share\foo`, `\\host\`, `\\host\share\foo`},
    		{`\\host\share\foo`, `\share\`, `\\host\share\foo`},
    
    		// only volume names are case-insensitive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 16:49:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_test.cc

                           absl::Span<AbstractTensorHandle*> outputs) {
      PartialTensorShape shape;
      TF_RETURN_IF_ERROR(inputs[0]->Shape(&shape));
      if (shape.dims() != 0) {
        return errors::InvalidArgument(
            "Tensor expected to have scalar shape found rank: ", shape.dims());
      }
      return absl::OkStatus();
    }
    
    TEST_P(UnifiedAPI, TestTensorShapeScalar) {
      if (UseFunction() && UseMlir()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top