Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for bitMask (0.22 sec)

  1. tensorflow/c/kernels/ops/bitcast.cc

      TF_RegisterOpDefinition(op_builder, status);
      CHECK_EQ(TF_GetCode(status), TF_OK)
          << "Bitcast op registration failed: " << TF_Message(status);
      TF_DeleteStatus(status);
    }
    
    TF_ATTRIBUTE_UNUSED static bool IsBitcastOpRegistered = []() {
      if ((&TF_NewStatus != nullptr) && SHOULD_REGISTER_OP("Bitcast")) {
        RegisterBitcastOp();
      }
      return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/convert_func_to_bfloat16.mlir

    func.func @bitcast_convert_i32_f32(%arg0: tensor<1x256128xi32>) -> tensor<1x256128xf32> {
      // CHECK: %[[BITCAST:.*]] = stablehlo.bitcast_convert %arg0 : (tensor<1x256128xi32>) -> tensor<1x256128xf32>
      // CHECK: %[[CONVERT:.*]] = stablehlo.convert %[[BITCAST]] : (tensor<1x256128xf32>) -> tensor<1x256128xbf16>
      // CHECK: return %[[CONVERT]] : tensor<1x256128xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/c/kernels/bitcast_op.cc

      {
        auto* builder = TF_NewKernelBuilder("Bitcast", tensorflow::DEVICE_CPU,
                                            &BitcastOp_Create, &BitcastOp_Compute,
                                            &BitcastOp_Delete);
        TF_RegisterKernelBuilder("BitcastOp", builder, status);
        CHECK_EQ(TF_OK, TF_GetCode(status))
            << "Error while registering bitcast kernel";
      }
    
    #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/bitcast_op_test.cc

      }
    };
    
    void TestBitcastOp(Tensor* input_tensor, DataType out_type,
                       TensorShape expected_shape, error::Code expected_code) {
      Status status;
      NodeDef def;
      def.set_op("Bitcast");
      def.set_device(DEVICE_CPU);
    
      AttrValue typeAttr;
      SetAttrValue(input_tensor->dtype(), &typeAttr);
    
      AttrValue outTypeAttr;
      SetAttrValue(out_type, &outTypeAttr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/c/kernels/BUILD

            "//tensorflow/c:tf_tensor",
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
        ],
    )
    
    tf_gen_op_libs(
        op_lib_names = ["bitcast"],
        deps = [
            "//tensorflow/c:ops",
            "//tensorflow/c:tf_datatype",
            "//tensorflow/c:tf_status",
            "//tensorflow/c:tf_tensor",
            "//tensorflow/core:lib",
        ],
    )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

    func (p *singleNumaNodePolicy) Name() string {
    	return PolicySingleNumaNode
    }
    
    func (p *singleNumaNodePolicy) canAdmitPodResult(hint *TopologyHint) bool {
    	return hint.Preferred
    }
    
    // Return hints that have valid bitmasks with exactly one bit set.
    func filterSingleNumaHints(allResourcesHints [][]TopologyHint) [][]TopologyHint {
    	var filteredResourcesHints [][]TopologyHint
    	for _, oneResourceHints := range allResourcesHints {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/trace/annotation.go

    	// round number and ignore ids generated from previous
    	// tracing round.
    }
    
    func fromContext(ctx context.Context) *Task {
    	if s, ok := ctx.Value(traceContextKey{}).(*Task); ok {
    		return s
    	}
    	return &bgTask
    }
    
    // Task is a data type for tracing a user-defined, logical operation.
    type Task struct {
    	id uint64
    	// TODO(hyangah): record parent id?
    }
    
    // End marks the end of the operation represented by the [Task].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top