Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,700 for shake (0.07 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

    }
    
    // Gets the shape of operand, assuming it is a dynamic shape with static rank.
    Value getShapeValue(Location loc, Value operand, PatternRewriter &rewriter) {
      RankedTensorType resultType =
          mlir::dyn_cast<RankedTensorType>(operand.getType());
      return rewriter.create<shape::ShapeOfOp>(
          loc,
          RankedTensorType::get(/*shape=*/{resultType.getRank()},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_tensor_handle.h

      virtual tensorflow::Status TensorHandleStatus() const;
    
      // Returns tensor shape. If tensor has unknown rank, shape remains untouched.
      virtual tensorflow::Status Shape(
          tensorflow::PartialTensorShape* shape) const = 0;
    
      // Returns tensor (full) type.
      // While there is no immediate plan to deprecate dtype and shape in favor
      // of only using full type type information, this is a future possibility.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/test_graph_tfunknownop3.config.pbtxt

    # Text form of tensorflow.tf2xla.Config proto.
    feed {
      id { node_name: "x_const" }
      shape {
        dim { size: 1 }
      }
    }
    feed {
      id { node_name: "y_const" }
      shape {
        dim { size: 1 }
      }
    }
    feed {
      id { node_name: "z" output_index: 1}
      shape {
        dim { size: 1 }
      }
      type: DT_INT32
    }
    fetch {
      id { node_name: "x_y_sum" }
    }
    fetch {
      id { node_name: "x_z_sum" }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 16 02:38:25 UTC 2017
    - 372 bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "shape[0].utilization",
    				},
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "shape[1].score",
    				},
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "shape[2].score",
    				},
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "shape[3].utilization",
    				},
    			}),
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. src/os/path_windows_test.go

    		// UNC Absolute
    		{`\\srv\share\long`, `\\?\UNC\srv\share\long`},
    		{`//srv/share/long`, `\\?\UNC\srv\share\long`},
    		{`/\srv/share/long`, `\\?\UNC\srv\share\long`},
    		{`\\srv\share\long\`, `\\?\UNC\srv\share\long\`},
    		{`\\srv\share\bar\.\long`, `\\?\UNC\srv\share\bar\long`},
    		{`\\srv\share\bar\..\long`, `\\?\UNC\srv\share\long`},
    		{`\\srv\share\bar\..\..\long`, `\\?\UNC\srv\share\long`}, // share name is not removed by ".."
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/svdf.mlir

    // CHECK-NEXT:     subgraphs: [ {
    // CHECK-NEXT:       tensors: [ {
    // CHECK-NEXT:         shape: [ 4 ],
    // CHECK-NEXT:         buffer: 1,
    // CHECK-NEXT:         name: "arg0",
    // CHECK-NEXT:         quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:         },
    // CHECK-NEXT:         has_rank: true
    // CHECK-NEXT:       }, {
    // CHECK-NEXT:         shape: [ 4 ],
    // CHECK-NEXT:         buffer: 2,
    // CHECK-NEXT:         name: "arg1",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_rnn.mlir

    // CHECK-NEXT:     subgraphs: [ {
    // CHECK-NEXT:       tensors: [ {
    // CHECK-NEXT:         shape: [ 4 ],
    // CHECK-NEXT:         buffer: 1,
    // CHECK-NEXT:         name: "arg0",
    // CHECK-NEXT:         quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:         },
    // CHECK-NEXT:         has_rank: true
    // CHECK-NEXT:       }, {
    // CHECK-NEXT:         shape: [ 4 ],
    // CHECK-NEXT:         buffer: 2,
    // CHECK-NEXT:         name: "arg1",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_debug.cc

      std::vector<int64_t> shape;
      int rank = -1;
      *status = handle.NumDims(&rank);
      if (!status->ok()) {
        return shape;
      }
      shape.reserve(rank);
      for (int i = 0; i < rank; ++i) {
        int64_t dim;
        *status = handle.Dim(i, &dim);
        if (!status->ok()) {
          return shape;
        }
        shape.push_back(dim);
      }
      return shape;
    }
    
    }  // namespace
    
    extern "C" {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/convert_type.h

    // Converts an TensorFlow shape to the one used in MLIR.
    void ConvertToMlirShape(const TensorShape& input_shape,
                            llvm::SmallVectorImpl<int64_t>* shape);
    
    // Converts an TensorFlow shape proto to the one used in MLIR.
    Status ConvertToMlirShape(const TensorShapeProto& input_shape,
                              llvm::SmallVectorImpl<int64_t>* shape);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        weight_row = array_ops.ones(
            shape=array_ops.shape(input_vocabs_placeholder), dtype=dtypes.float32
        )
        # shape: (?, 2)
        weight = array_ops.transpose_v2(
            array_ops_stack.stack([weight_row, weight_row])
        )
        # shape: (2, 2)
        output_tensor = math_ops.matmul(matmul_input, weight)
    
        return input_vocabs_placeholder, lookup_vals, output_tensor
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top