Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for scalar2 (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Operation* scalar3 = TF_GraphOperationByName(graph, "imported3/scalar");
      TF_Operation* feed3 = TF_GraphOperationByName(graph, "imported3/feed");
      TF_Operation* neg3 = TF_GraphOperationByName(graph, "imported3/neg");
      ASSERT_TRUE(scalar3 != nullptr);
      ASSERT_TRUE(feed3 != nullptr);
      ASSERT_TRUE(neg3 != nullptr);
    
      // Check that newly-imported scalar and feed have control deps (neg3 will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      Run({{func_feed, Int32Tensor(3)}}, func_op, 2 + 3);
      VerifyFDef(
          {"add_0", "scalar"}, M({{"feed1"}, {"feed2"}}), M({{"add"}}),
          {{"feed1", "add_0:0"}, {"feed2", "add_0:1"}, {"add_0:sum:0", "add"}},
          {{"^scalar", "add_0:2"}});
    }
    
    TEST_F(CApiFunctionTest, ControlDependencyOutsideOfBody) {
      /*
       *                  |  |    scalar
       *                  |  |    .
       *                  v  v   . <---- control dependency
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    cond: A Tensor. If the tensor is a scalar of non-boolean type, the
        scalar is converted to a boolean according to the
        following rule: if the scalar is a numerical value, non-zero means
        True and zero means False; if the scalar is a string, non-empty
        means True and empty means False. If the tensor is not a scalar,
        being empty means False and being non-empty means True.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		if !originalInBounds && !modifiedInBounds {
    			break
    		}
    		// we need to compare the string representation of the scalar,
    		// because the scalar is an interface which doesn't support either < or >
    		// And that's how func sortScalars compare scalars.
    		var originalString, modifiedString string
    		var originalValue, modifiedValue interface{}
    		if originalInBounds {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

    must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n     Atomic lists will be entirely replaced when updated. This extension\n     may be used on any type of list (struct, scalar, ...).\n2) `set`:\n     Sets are lists that must not have multiple items with the same value. Each\n     value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n     array with x-kubernetes-list-type `atomic`.\n3) `map`:\n   ...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  6. tensorflow/c/kernels_test.cc

        p.op_kernel = kernel.get();
        OpKernelContext ctx(&p);
        kernel->Compute(&ctx);
    
        ASSERT_EQ(2, num_inputs);
        ASSERT_EQ(1, num_outputs);
        ASSERT_EQ(123, ctx.mutable_output(0)->scalar<tensorflow::uint8>()());
      }
    }
    
    TEST(TestKernel, DeleteKernelBuilderIsOkOnNull) {
      TF_DeleteKernelBuilder(nullptr);
    }
    
    std::string ExpectedString(const char* type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    Similarly, tasks from the Groovy and Scala plugins also rely on toolchains to determine on which JVM they are executed.
    
    ==== Scala compilation target
    
    With the toolchain changes described above, Scala compilation tasks are now always provided with a `target` or `release` parameter.
    The exact parameter and value depend on toolchain usage, or not, and Scala version.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        }
      }
      return indexes;
    }
    
    // Creates a slice of the tensorlist `input_list`, starting from
    // [start_index, 0, ...0], with size [size, -1, ...-1].
    //
    // Requires that `start_index` and `size` are scalar tensors and
    // `item_position_shape` is a 1-D tensor with only one element equal to the rank
    // of an item in the tensorlist.
    TF::SliceOp CreateSliceOpForTensorList(Location loc, Value input_list,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    // described by bitmaps with 1 bit per pointer-sized word. A "1" bit
    // means the word is a live pointer to be visited by the GC (referred to
    // as "pointer"). A "0" bit means the word should be ignored by GC
    // (referred to as "scalar", though it could be a dead pointer value).
    //
    // Heap bitmaps
    //
    // The heap bitmap comprises 1 bit for each pointer-sized word in the heap,
    // recording whether a pointer is stored in that word or not. This bitmap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/type.go

    	return t.IsInterface() && len(t.AllMethods()) == 0
    }
    
    // IsScalar reports whether 't' is a scalar Go type, e.g.
    // bool/int/float/complex. Note that struct and array types consisting
    // of a single scalar element are not considered scalar, likewise
    // pointer types are also not considered scalar.
    func (t *Type) IsScalar() bool {
    	switch t.kind {
    	case TBOOL, TINT8, TUINT8, TINT16, TUINT16, TINT32,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top