Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 170 for onStop (0.27 sec)

  1. tensorflow/c/experimental/saved_model/internal/BUILD

    # Code in this directory is intended to form the glue between the C API and the internal C++
    # implementation by
    # 1. mapping C API calls onto correponding methods of C++ objects
    # 2. mapping opaque C types onto C++ classes
    
    # Note(bmzhao): The *.cc files in this directory form the direct implementation of the
    # C API functions exposed in tf/c/experimental/saved_model/public/.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 20:19:06 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

                                              RankedTensorType* elem_type,
                                              int64_t* count) {
      auto lengths_const =
          llvm::dyn_cast_or_null<TF::ConstOp>(split.getLengths().getDefiningOp());
      if (!lengths_const) return split.emitOpError("non-constant split lengths");
      *count = lengths_const.getValue().getNumElements();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor.h

      // Enqueues a memcpy operation onto stream, with a host destination location
      // `host_dst` and a device memory source, with target size `size`.
      void (*memcpy_dtoh)(const SP_Device* device, SP_Stream stream, void* host_dst,
                          const SP_DeviceMemoryBase* device_src, uint64_t size,
                          TF_Status* status);
    
      // Enqueues a memcpy operation onto stream, with a device destination
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

            RankedTensorType::get(static_shape.size(), rewriter.getIntegerType(64));
        auto static_shape_attr =
            mlir::DenseIntElementsAttr::get(static_shape_type, static_shape);
        return rewriter.create<TF::ConstOp>(loc, static_shape_attr).getOutput();
      }
    
      // If the shape is not static, create a new ShapeOp.
      BoolAttr false_attr = rewriter.getBoolAttr(false);
      return rewriter
          .create<TF::ShapeOp>(loc, input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction_test.go

    			enablePodDisruptionConditions: true,
    		},
    		{
    			description: "scheduling onto tainted Node",
    			prevPod:     testutil.NewPod("pod1", ""),
    			newPod:      testutil.NewPod("pod1", "node1"),
    			taintedNodes: map[string][]corev1.Taint{
    				"node1": {createNoExecuteTaint(1)},
    			},
    			expectDelete: true,
    		},
    		{
    			description: "scheduling onto tainted Node with toleration",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

        if (fold_results.size() != 1 ||
            !llvm::isa<TF::ConstOp>(fold_results[0].getDefiningOp())) {
          return absl::InternalError("Failed to evaluate TF ops");
        }
    
        // Convert output tensor back to xla::Literal.
        tensorflow::Tensor tensor;
        TF_RETURN_IF_ERROR(tensorflow::ConvertToTensor(
            llvm::dyn_cast<TF::ConstOp>(fold_results[0].getDefiningOp()).getValue(),
            &tensor));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

      if (!tensor_attr_or.ok()) return nullptr;
      return tensor_attr_or.value();
    }
    
    // Creates a constant op that holds 'tensor_elements'.
    TF::ConstOp GetConstOpFromElementsAttr(ElementsAttr tensor_elements,
                                           OpBuilder builder, Location loc) {
      return builder.create<TF::ConstOp>(loc, tensor_elements);
    }
    
    // Returns ElementsAttr which has the value held by 'resource_tensor'.
    ElementsAttr GetTensorValueAsElementsAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/BUILD

            "//tensorflow/python/eager:backprop",
            "//tensorflow/python/framework:test_lib",
            "//tensorflow/python/platform:client_testlib",
        ],
    )
    
    gen_op_libraries(
        name = "one_op",
        src = "define_op_template.py",
        deps = [
            "//tensorflow/python/platform:flags",
            "@absl_py//absl:app",
        ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_device_context.cc

      if (!status.ok()) {
        done(status);
        return;
      }
    
      // Create a reference to hold onto cpu_tensor until after the literal has
      // been transferred
      TensorReference ref(*cpu_tensor);
      if (UseMultipleStreams()) {
        // Unref the host tensor when the transfer completes.
        // We don't defer the call to done() onto the stream here, and the reasons
        // why this is correct are subtle. We assume that:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    	ifdefStack      []bool
    	macros          map[string]*Macro
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top